Skip to content

v2.47.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 05:19
· 25 commits to master since this release

2.47.0 (2026-11-24)

Features

  • Print mixed page sizes and support the CSS page-orientation descriptor (#2292) (985d037), closes #1474, #1993
  • Support the HTML <base> element and resolve script URLs against the document base URL (#2291) (9c05482), closes #604
  • Support CSS quotes in page and page-margin contexts (#2290) (50dac48), closes #567
  • Apply stylesheets listed in publication manifests to publication documents (#2260) (624fe0b), closes #1588
  • Show CSS bookmarks in the Viewer table of contents (#2258) (d166865), closes #590, #574

Bug Fixes

  • Keep absolutely positioned boxes on the current page when the preceding block fits exactly (#2299) (e6a839d), closes #2298
  • Fix absolutely positioned box moving to the next page after a block (#2297) (dfe1f01), closes #2296
  • Prevent mid-line page breaks at absolutely positioned elements and floated markers (#2294) (1c9fe0a)
  • Fix TypeError when measuring the edge of a text node without a parent element (#2295) (c761c7f)
  • Fix sizing in ch, ex, cap, and ic units in Firefox (#2293) (06c7d55)
  • Preserve native button borders when setting a background (#2289) (ec3fcb1)
  • Fix page breaks repeating text after an empty position: absolute element (#2287) (1a7d003), closes #2285
  • Fix page breaks when a footnote or page float is on a ::before pseudo element (#2284) (3e46540), closes #747
  • Let text with white-space: normal end the block start for forced breaks (#2283) (79b44d1)
  • No empty page for a root element whose content is all in named flows (#2282) (e66ea57), closes #434
  • Break before a line of inline-blocks instead of inside one (#2281) (d3eb8d2)
  • Let zero-height EAL partitions take the empty start of a flow (#2280) (7d512fb), closes #391
  • Preserve block-end borders after overflow (#2279) (ece1895)
  • Prevent trailing blank pages after overflow (#2278) (9e3e8ae), closes #599
  • Respect case in XML type and attribute selectors (#2277) (ced57c8), closes #578
  • Prevent duplicate deferred footnotes after a layout retry (#2276) (b0d035c), closes #2274
  • Restart footnote numbering on each page with counter-reset (#2275) (b6e5c0c), closes #2273
  • Fix endless blank pages with clear in vertical multi-column layout (#2272) (01eb296), closes #2271
  • Fix named flow elements lost when the layout is retried (#2270) (6ae1797), closes #2269
  • Fix content shifted by unset block sizes of fragmented boxes (#2267) (a2cf8e9), closes #583
  • Load built-in footnote and table-cell templates without fetch under restrictive Content Security Policies (#2266) (6040978)
  • Fix negative page margins not working since v2.34.0 (#2264) (cc1f7a5)
  • Fix float position at the start of a parent whose margin collapses (#2262) (6a0df29), closes #1292
  • Fix floats not inheriting properties from inline ancestors (#2261) (6b0f9d8), closes #1479

Performance Improvements

  • Use a data attribute instead of the style attribute in Viewer CSS selectors (#2286) (53c7432)

Acknowledgements