Unsupported features in CSS 2.1

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 1ex equivalent to 0.5em, which is incorrect for some fonts.

Selectors

  • Prince does not support the ::first-line pseudo-element.

Fonts

  • Prince does not support the font-variant property for small-caps.

Lists

  • Prince does not support the following list style types: lower-greek, armenian, georgian.
  • Prince does not support the list-style-image property.
  • 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 quotes property or the open-quote and close-quote content values.

Text

  • Prince does not support text-transform: capitalize.
  • Prince does not support the direction and unicode-bidi properties.
  • Prince does not support right-to-left text or vertical text.

Visual Effects

  • Prince does not support visibility: collapse.