Approved May 8, 2021 by the Technical Committee of Japan DAISY Consortium
This short document is our attempt to describe navigation operations in EPUB3.
- current-content-document
- the content document being rendered.
- current-block-element
- that block element in the current content document which is being rendered.
- current-spine-item
- that itemref element in the spine item which references the current content document.
- current-element-in-navdoc
- that li element in the navigation document which references the current-content-document and further references the current-block-element*
- current-par-node
- that par element in the MO document which references the current-content-document and the current-block-element
- Let current-block-element be the block element that immediately follows (resp. precedes) the current-block-element.
- Reset current-element-in-navdoc and current-par-node accordingly.
- Let current-content-document be the content document that immediately follows (resp. precedes) the current-content-document.
- Let current-block-element be the first block element in the current content document.
- Reset current-element-in-navdoc and current-par-node accordingly.
- Let current-content-document and current-block-element be the content document and the block element (if non, the first block element) that are referenced by the current-element-in-navdoc.
- Let current-element-in-navdoc be that li element in the navdoc which immediately follows (resp. precedes) the current-element-in-navdoc.
- Reset current-block-element, current-content-document, and current-par-node accordingly.
- Let current-element-in-navdoc be that li element in the navdoc which is the nearest ancestor of the current-element-in-navdoc.
- Reset current-block-element, current-content-document, and current-par-node accordingly.
- Let current-par-node be that par element in the MO document which immediately follows (resp. precedes) the current-par-node.
- Reset current-block-element, current-content-document, and current-element-in-navdoc accordingly.
- Next in MO-based navigation and Next in
- Content documents reachable by spine-based navigation does not have to be reachable by nav-doc-based navigation
- Content documents reachable by nav-doc-based navigation MUST be reachable by spine-based navigation.
- Block elements reachable by content-based MO-based navigation should be reachable
- What is reachable by MO-based navigation should be reachable by content-based