2016.4
See http://vivliostyle.com/en/documentation/supported-features/ for supported features.
Added
- Support printer marks (
marks
property) and bleed area (bleed
property) #98- Spec: CSS Paged Media Module Level 3 - Crop and Registration Marks: the 'marks' property, Bleed Area: the 'bleed' property
- Only effective when specified within an
@page
rule without page selectors.
- Support outline-offset #181
- Support font-feature-settings #151
- Support linear-gradient/radial-gradient #35
- Support substring matching attribute selectors
^=
,$=
and*=
#196 - Support
even
,odd
andan+b
arguments for:nth-child()
pseudo-class selector #87 #163 - Support
:nth-last-child()
,:nth-of-type()
,:nth-last-of-type()
,:last-child
,:first-of-type
,:last-of-type
,:only-child
and:only-of-type
pseudo-class selectors #86 #193 #194 - Support
:empty
pseudo-class selector #205 - Support UI states selectors (
:checked
,:enabled
and:disabled
) #206 #197- Spec: Selectors Level 3 - The UI element states pseudo-classes
- Note that the current implementation can use only initial states of those UI elements. Even if the actual state of the element is toggled by user interaction, the style does not change.
- Support
:not()
pseudo-class selector #195 - Support TeX and AsciiMath mathematics #108
- In a element with
data-math-typeset="true"
attribute, you can use TeX or AsciiMath mathematics. - TeX mathematics are indicated by delimiters
\(...\)
or$$...$$
. - AsciiMath mathematics are indicated by delimiters
...
.
- In a element with
Fixed
- Lengths in 'rem' specified within page context are now interpreted correctly #109
- Web fonts are now applied correctly even when specified within page context #58
- Fix incorrect pagination caused by absolutely positioned element #158
- Fix pagination problem with flex containers #174
- Truncate margins at unforced page/column breaks #83
- box-shadow / text-shadow is now supported #156
- Propagate and combine multiple break values at a single break point #129
- Fix problematic handling of prefixed properties #209 #210
- Fix
rem
calculation whenfont-size
is specified to thebody
element #217