Supported or Unsupported CSS in 2019

I’m attempting convert an html document to PDF using Aspose.PDF .Net. Some of the formatting that is fine in the browser, does not have the desired effect in Aspose. Is there a list of supported or unsupported CSS elements for Aspose.

My specific problem seems to be centered around some .ui-g-2 classes that are defined as part of BootStrap. Failing a comprehensive list, is there anything here known to be unsupported?

.ui-g {
display:flex;
flex-wrap:wrap;
box-sizing:border-box
}

.ui-g-1,.ui-g-2,.ui-g-3,.ui-g-4,.ui-g-5,.ui-g-6,.ui-g-7,.ui-g-8,.ui-g-9,.ui-g-10,.ui-g-11,.ui-g-12 {
float: left;
box-sizing: border-box;
padding: .5em;
display: block;
}

.ui-g-2 {
width:16.6667%
}

Thanks.

@BenROhio

Thank you for contacting support.

Please note that Aspose.PDF for .NET completely supports CSS 2.1, except aural properties (azimuth, volume, speech-rate, etc.) because they are not supported by our output formats (XPS, images, PDF).

Regarding CSS3 support, its specification is under construction and the most chapters are far from at least stable state (CSS current work & how to participate). However, we have implemented a lot of ‘candidate’ properties when they were requested by customers.

About the issue you are currently facing, please share source and generated ZIP files along with SSCCE code so that we may try to reproduce and investigate it in our environment. Before sharing requested data, please ensure using Aspose.PDF for .NET 19.4.

1 Like