Skip to content

Latest commit

 

History

History
415 lines (380 loc) · 26.7 KB

CHANGELOG.md

File metadata and controls

415 lines (380 loc) · 26.7 KB

Change Log

Unreleased

2017.2 - 2017-2-22

Added

Changed

  • Change license to AGPL 3.0

Fixed

  • Fix incorrect page breaking at boundaries of inline-block boxes
  • Improve page/column breaking inside tables
    • #311
    • Following issues are resolved:
      • Table cell with rowspan disappears after page break
      • Table (column) width should not change over page breaks
      • Table breaks occur between the colgroup and the first row
  • Fix incorrect treatment of percentage value for line-height property
  • Support repeating table header/footer across pages
  • Fix incorrect widows behavior with footnote call close to the end of the page

2016.10 - 2016-10-25

Added

Changed

  • Introduce background layout and change event model
  • Improve zoom behavior
  • Add very simple 'auto spread' page view mode

Fixed

  • Fix bug that pages occasionally disappear when resolving cross references
  • Respect target="_blank" on links to external URLs
  • Fix incorrect page breaks with cross references
  • Fix image-resolution behavior when max/min-width/height is specified in length (not percentage)
  • Fix image-resolution to take box-sizing into account
  • Fix cross reference bug with name attribute
  • Avoid error when inherit value is used
  • Avoid error when rem unit is used
  • Fix rem unit inside position: relative elements
  • Fix internally generated IDs on elements to conform to the XML specification

2016.7 - 2016-07-04

Added

Changed

  • counter-reset and counter-increment specified in a page master (@-epubx-page-master) are now effective to page-based counters
    • #251
    • Note that these values, if specified, always override values specified in page contexts.

Fixed

  • Fix a bug that clear is ignored when white-space property is used before the element
  • Fix incorrect float positioning
  • Fix incorrect float clearance
  • Fix incorrect text offset caused by float
  • Fix improper rendering of floats with relative width/height
  • Fix positioning when a float is specified position: relative or a float is inside an positioned element
  • Fix positioning when a float has a writing-mode value different from its container
  • Fix issue with floats inside an element with an overflow value other than visible
  • Fix issue that a display value was always set to block for a float, ignoring the original value
  • Fix layout when a float is wider than its containing block
  • Avoid error when an element with pseudoelements overflows its container
  • Fix handling of padding and border of a block fragmented by a page/column break
  • Fix layout of floats inside flex containers
  • Fix page break bug in vertical text on Firefox (partially)

2016.4 - 2016-04-08

Added

Fixed

2016.1 - 2016-01-20

Added

  • Support EPUB loading
    • #60
    • loadEPUB method of Viewer class loads an unzipped EPUB directory.
  • Support some EPUB features
    • #62
    • Support page-progression-direction attribute of spine element in OPF
    • Accept -epub- prefixed text-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
  • Support JIS-B5 and JIS-B4 page sizes
  • Accept flexbox properties
  • Support srcset attribute for img and source elements

Changed

  • Add default page margin

Fixed

  • 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
  • Improve MathJax performance
  • Fix bug that rules above footnotes disappear
  • Allow an EPUB directory URL not followed by a slash
  • Change initial values of orphans and widows to 2
  • Allow page/column break inside tables
  • Fix internal hyperlinks to elements with 'name' attributes
  • Allow units spelled in upper case
  • Fix handling of forced and avoid break values; update acceptable values for break-* properties
    • Spec: CSS Fragmentation Module Level 3
    • Note that the current implementation treats all values of break-inside other than auto as the same as avoid. The fine-grained control (distinguishing avoid, avoid-page, avoid-column and avoid-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.
    • #26
    • #103
  • Element names and attribute names in selectors are now treated in a case-insensitive manner
  • Fix incorrect positioning of floats and clearance
  • Fix attribute selector ~=
  • Fix initial value of unicode-bidi
  • Fix support for q unit
  • Avoid page break between ruby base and annotation
  • Do not block entire process when stylesheets cannot be fetched or parsed
  • Fix problem that pages with viewport specified have incorrect horizontal offset on screen

0.2.0 - 2015-09-16

Beta release.

Added

Changed

Fixed

  • [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.

Added

Changed

  • [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.

Fixed

0.1.0 - 2015-04-28

Initial alpha release. Following features are added while keeping the original Adaptive Layout features.

Added

  • [core] Support @page rule
  • [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