Prince 5.1 supports nearly all of CSS 2.1. The remaining unsupported features are listed below.
Syntax
- CSS style sheets must use ASCII with all non-ASCII characters escaped; UTF-8 and UTF-16 encodings are not supported by Prince.
Basic Data Types
- Prince treats
1exequivalent to0.5em, which is incorrect for some fonts.
Selectors
- Prince does not support the
::first-linepseudo-element.
Fonts
- Prince does not support the
font-variantproperty for small-caps.
Lists
- Prince does not support the following list style types: lower-greek, armenian, georgian.
- Prince does not support the
list-style-imageproperty. - The list-item counter is not incremented automatically by
display: list-item. - List item markers are not aligned to the baseline of the list item content.
Generated Content
- Prince does not support the
quotesproperty or theopen-quoteandclose-quotecontent values.
Text
- Prince does not support
text-transform: capitalize. - Prince does not support the
directionandunicode-bidiproperties. - Prince does not support right-to-left text or vertical text.
Visual Effects
- Prince does not support
visibility: collapse.
