Appearance
Release notes Web Framework Experimental
For more information about experimental releases, see Experimental Releases.
5.0.0-experimental.2026111901 2026-11-19
NOTE
This version is based on the previously released 5.0.0-rc.7, plus some changes from the upcoming 5.0.0-rc.8. Those changes will be listed in the 5.0.0-rc.8 release notes. Only one of them, a breaking change, is listed here.
This experimental release should be used for evaluating the Visible Content API. The API is marked as experimental and might change in future releases.
Breaking changes
IEpubReaderPublicationCustomCssOptions.enableNormalizeCssnow defaults tofalse, so the CSS reset normalize.css is no longer injected into EPUB content documents. Publications may render differently. To keep the previous rendering, setenableNormalizeCsstotrue. Note thatenableNormalizeCssis deprecated.
New features
Added the Visible Content API. Call
IReaderView.getVisibleContent()to get anIReaderViewVisibleContentsnapshot of the content currently visible in theReaderView.Added the methods
IReaderViewVisibleContent.getContentRectsContainedInArea()andgetContentRectsIntersectingArea().getContentRectsContainedInArea()returns the content rects fully inside a named area.getContentRectsIntersectingArea()returns the content rects that intersect it.VisibleContentAreaTypenames the areas: the Reading Area and the Content Display Area. The result groups the rects into continuous runs of content (ranges).Added
IVisibleContentAreaRectsResult.getContentLocationPaintState(), which tells whether a content location is painted in the area, not painted (for exampledisplay: none), or outside the visible content.In EPUB content, the rects returned by
getContentRectsContainedInArea()andgetContentRectsIntersectingArea()include clipping information. Each rect has aclippedStateand aclippedClientRect. ItsclippingRectIndexrefers to the clipping element inIVisibleContentAreaRectsResult.clippingRects.Added the engine event
visibleContentChange. It is fired each timeIReaderView.getVisibleContent()starts returning a new snapshot. For example, this happens when navigation, scrolling, zooming or a change to the publication content starts or ends.IReaderViewVisibleContent.ongoingChangeslists the changes that are still ongoing.IReaderView.focusOnReadingPosition()now focuses on the text nearest the reading position in PDF publications whenIFocusOnReadingPositionOptions.focusTargetOptions.targetis set to anything other thanNONE.
Deprecations
IVisiblePage.fetchRectsForVisibleContent()has been deprecated. Please use the new methodIVisiblePage.fetchContentRects()instead.
Improvements
- Reduced the memory used by
EpubCfiSelectorinstances.IEpubCfiSelector.getRootNode()may now return a copy of the root node passed to theEpubCfiSelectorconstructor instead of the original object. - Scrollable elements in scripted EPUB content documents now get
tabindex="0", as in other content documents. Users can now scroll these elements with the keyboard. Swipe navigation now also works over these elements once they are scrolled to the end, and over scroll containers whose content does not overflow.
Bugfixes
- Fixed an issue where
IVisiblePage.fetchBoundingClientRectForContentLocation()returned rectangles for PDF pages relative to the page instead of in application viewport coordinates.
Known limitations
- In
SinglePageSwipeRendererandSpreadSwipeRenderer,IReaderViewVisibleContent.getSpecifiedAreaRect()andgetResolvedAreaRect()return the rect of the wholeReaderView, including thecontentDisplayAreaOptionsinsets. In all paginated renderers, the rect grows when theReaderViewis zoomed, sogetContentRectsContainedInArea()andgetContentRectsIntersectingArea()can return content that is off screen. - After
IReaderView.setReaderDocuments()clears or replaces the reader documents,IReaderView.getVisibleContent()keeps returning the snapshot of the previous documents. When the documents are replaced, the snapshot is updated after the first navigation in the new documents. - In paginated renderers, when a navigation fails,
NAVIGATINGcan stay inIReaderViewVisibleContent.ongoingChangesand the snapshot is not updated until the next navigation. - In paginated renderers, a PDF page whose text fails to load blocks
IReaderView.next(),IReaderView.previous()and swipe navigation untilIReaderView.goTo()is called. This also affects applications that do not use the Visible Content API. - Do not set
IEpubTextNodeSplitOptions.enableTextSplittotrue. In Safari 26 and on iOS 26, long paragraphs are not shown when text split is enabled.
5.0.0-experimental.2026070901 2026-07-09
NOTE
This version is based on the previously released 5.0.0-rc.4.
New features
- Added the new method
IVisiblePage.fetchBoundingClientRectForContentLocation(). It returns a singleDOMRect, in application viewport coordinates, that fully encapsulates a given content location including any surrounding container padding and borders (unlikefetchRectsForVisibleContent, which wraps only the leaf content).
5.0.0-experimental.2025091601 2025-09-23
NOTE
This version has all bugfixes from version 4.5.0, but also some additional changes and features from the upcoming 5.0.0.
This experimental release does not include all upcoming changes for 5.0.0, but should be used for evaluating the ContinuousScrollRenderer.
Breaking changes
- The minimum supported browser versions have changed to: - Safari 15 - Firefox 128 - Chrome 64 - Edge 79
- The distributed framework module files
.mjsare now real ES modules instead of importing the CommonJS version of the module. - The distributed framework module files are now using ECMASCRIPT 2018 syntax.
New features
- Added support for rendering the
ReaderViewin a Shadow DOM. Previously, our styles were not reaching theviewElementif it was inside a Shadow DOM, but that has now been fixed. - Added a new renderer option
swipeNavigationGestureThreshold. This option can be used to configure the swipe distance required to perform a swipe navigation. Additionally, swipe animations have been refined to start more smoothly.
Bugfixes
- Fixed an issue where certain elements were given
tabindex="-1", preventing focus via standard keyboard navigation. - Fixed an issue where publication content that changed
overflow-xstyling could break reflow due to browsers implicitly settingoverflow-ytoauto.
Scroll renderer improvements since 4.4.0-experimental.2025062501
- Several bugs and issues have been fixed.
- The duration of the smooth scrolling can now be controlled with the renderer options
scrollAnimationDurationMsandscrollAnimationMaxDistance. Please refer to the API documentation for more information.
4.4.0-experimental.2025062501 2025-06-30
NOTE
This version is based on the previously released 4.4.0.
New features
- Added the new renderer
ContinuousScrollRendererthat shows all documents in a single vertical scrolling view.
Changes since 4.3.0-experimental.2025050801
- Added a new
ReaderView.goTo()option to control how scroll renderers behave when the target position is already visible in theReaderView. - Scroll renderers can now smoothly scroll to nearby positions.
- Added a new event,
rendererScrollChanged, which is fired continuously while scroll renderers are scrolling. - Changed the
rendererScrollStartedevent type toIRendererScrollEngineEvent. It is now possible to determine whether scrolling was initiated by the user by inspecting theuserGeneratedproperty. - Fixed several bugs and issues in the
ContinuousScrollRenderer.
4.3.0-experimental.2025050801 2025-05-08
NOTE
This version is based on the previously released 4.3.0.
New features
- Added the new renderer
ContinuousScrollRendererthat shows all documents in a single vertical scrolling view.
4.2.1-experimental.2025041101 2025-04-11
NOTE
This version is based on the previously released 4.2.1.
New features
- Added the new renderer
ContinuousScrollRendererthat shows all documents in a single vertical scrolling view.
4.0.0-experimental.2024062701 2024-06-27
NOTE
This version is based on the previously released 4.0.0-rc.1.
New features
- Introduced a new option
IEpubContentBlockOptions.attributeNamesThatCreateContentBlocks. With this option, you can specify which element attribute names should trigger the creation of aContentBlockfor an element.