- 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
:nth-child()
pseudo-class selector (only an integer argument can be used) - 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
- Accept flexbox properties
- Add default page margin
- Fix zoom problem when viewport is specified by the document
- Fix incorrect layout of HTML which is well-formed as XML
- Fix viewport blinking while loading
- Fix media queries behavior
- Fix calculation of
rem
unit values
0.2.0 - 2015-09-16
Beta release.
- [core] Support page background and document canvas background color
- #33
- Note: only simple background color is supported.
- [core, viewer] Layout is automatically updated when the window size is changed
- [core] Support page-based counters
- #39
- Spec: CSS Paged Media Module Level 3 - Page-based counters
- See the above pull request for a detailed description of its behavior and limitation.
- [core] Support page-margin boxes
- #42
- Spec: CSS Paged Media Module Level 3 - Page-Margin boxes
- Note: For now, 'quotes' property specified within the page/margin context is ignored. This issue will be tracked at https://github.com/vivliostyle/vivliostyle.js/issues/43.
- [core] Accept WOFF2 web fonts
- Viewer UI is separated to a new repository vivliostyle-js-viewer.
- [core] Avoid incorrect margin collapse of the page area
- [core] Fix incorrect positioning of floats
- [viewer] Make keyboard shortcuts work on various browsers
- [core] Fix duplicating page when navigate to the last page of each spine
- [core] Fix several problems on web font loading
0.1.1 - 2015-05-06
Minor update with several changes and bug fixes.
- [core] Support :root pseudo-class selector
- [core] Support CSS properties currently implemented by browsers
- See #18 for details.
- [core] Cascade page size specified in @page rules to page masters defined by @-epubx-page-master rules
- #17
- When @page rules and @-epubx-page-master rules are both specified, the page size specified by 'size' property in @page rules is applied to the selected page master. This behavior is not defined in the related specs. We added this behavior for a use case in which one wants to print content styled with Adaptive Layout on a paper sheet and wants to specify the sheet size by adding a (user) stylesheet containing @page rules with 'size' property.
- [core] Fixed incorrect page layout when non-zero padding is specified in page context.
- [core] 'page-width', 'page-height' variables (used in -epubx-expr) are now correctly reflect the page size specified by @page rules
- [viewer] Fixed incorrect page size calculation when content with 'auto' page size is viewed in the spread view mode.
0.1.0 - 2015-04-28
Initial alpha release. Following features are added while keeping the original Adaptive Layout features.
- [core] Support @page rule
- #2
- Spec: CSS Paged Media Module Level 3
- Supported page selectors: :left, :right, :first, :recto, :verso
- Supported properties within the page context: size, width, height, margin, padding, border
- [viewer] Support spread view mode
- #7
- The spread view can be enabled by adding '&spread=true' to the end of the viewer URL.
- Note: Page size calculation is incorrect when content with 'auto' page size is viewed in the spread view mode. This problem will be fixed in the next release.
- [viewer] Added page navigation buttons