2016.1
See http://vivliostyle.com/en/documentation/supported-features/ for supported features.
Added
- Support EPUB loading #60
loadEPUB
method ofViewer
class loads an unzipped EPUB directory.
- Support some EPUB features #62
- Support
page-progression-direction
attribute ofspine
element in OPF - Accept
-epub-
prefixedtext-emphasis-*
properties
- Support
- Support
:nth-child()
pseudo-class selector (only an integer argument can be used) #69 - Basic CSS Page Floats support #72
- Spec: CSS Page Floats
- Only basic float placement without stacking or collision avoidance is supported.
- Improve handling of @font-face rules #79
- Spec: CSS Fonts Module Level 3 - The @font-face rule
- Add support for
local()
as well asurl()
to use local fonts.
- Support JIS-B5 and JIS-B4 page sizes #75
- Accept flexbox properties #90
- Support
srcset
attribute forimg
andsource
elements #117
Changed
- Add default page margin #81
Fixed
- Fix zoom problem when viewport is specified by the document #61
- Fix incorrect layout of HTML which is well-formed as XML
- Fix viewport blinking while loading #77
- Fix media queries behavior #78 #80
- Fix calculation of
rem
unit values #82 - Improve MathJax performance #116
- Fix bug that rules above footnotes disappear #118
- Allow an EPUB directory URL not followed by a slash #120
- Change initial values of
orphans
andwidows
to 2 #30 - Allow page/column break inside tables #101
- Fix internal hyperlinks to elements with 'name' attributes #94
- Allow units spelled in upper case #36
- Fix handling of forced and avoid break values; update acceptable values for
break-*
properties #26 #103- Spec: CSS Fragmentation Module Level 3
- Note that the current implementation treats all values of
break-inside
other thanauto
as the same asavoid
. The fine-grained control (distinguishingavoid
,avoid-page
,avoid-column
andavoid-region
) will be a future task and tracked with a separate issue. - Note that though the spec requires to honor multiple
break-before
/break-after
values at a single break point, the current implementation choose one of them and discard the others. The fine-grained control of these break values will be a future task and tracked with a separate issue.
- Element names and attribute names in selectors are now treated in a case-insensitive manner #95
- Note that this behavior is incorrect for XML documents. This issue will be tracked at https://github.com/vivliostyle/vivliostyle.js/issues/106.
- Fix incorrect positioning of floats and clearance #135
- Fix attribute selector
~=
#137 - Fix initial value of
unicode-bidi
#137 - Fix support for
q
unit #137 - Avoid page break between ruby base and annotation #139
- Do not block entire process when stylesheets cannot be fetched or parsed #141
- Fix problem that pages with viewport specified have incorrect horizontal offset on screen #142