-
Notifications
You must be signed in to change notification settings - Fork 63
Clarify styling of navigation document #2708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…ng system requirement to ignore such styling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder whether we should not create a test case for that MUST statement in RS right away, and not wait until the end... (as a general approach for such minor changes).
Ya, it's probably better to do that as we go than pick through the issues and spec later to figure out what's changed. Do you want to handle that part? |
Yep. But do not wait for it to merge this PR. If I do not do it before it is otherwise ready, merge it and I will raise a new PR for the test references. |
Actually
|
Co-authored-by: Matt Garrish <mattgarrish@users.noreply.github.com>
Fix/issue-2678-tests
This was discussed during the pmwg meeting on 17 April 2025. View the transcriptw3c/epub-specs#2708wendyreid: clarification of styling documents. mgarrish: has a Reading System requirement but cleaning it up but we had some authoring recommendation but didn't notice that the the Reading System in spine requirements. When you are using it in the spine its up to the author to style it. when a RS shows the TOC in their own UI they need to hide the line numbers. SueNeu: both to the author and the RS that this is list style none, outside the spine they require that they need to supress the style. it wasn't stated clearly, when authoring in the nav and put it in the <spine> then you as a content document author must suppress the numbering style. ivan: I have updated test suite to handle 3.4 mgarrish: similar with EPUBCheck ivan: Merge it! <rdeltour> +1 to what Matt just said :) wendyreid: in reading it I am curious about <nav.xhtml> some creators will use that to include page list and landmarks. mgarrish: ignored in both cases, or ignore <nav elements? |
This pull request takes the two stray paragraphs about including the navigation document in the nav requirements and moves them to the existing section on using the nav doc in the spine. It also clarifies that when used in the spine, it is the author's responsibility to suppress list item numbering.
There is also a claim in the section that the hidden attribute is ignored by reading systems when they process the nav document, but when I tried to link this to where it's stated in the reading system specification I couldn't find anything. I've added an additional bullet to that specification to require that markup and styling to hide content in the spine is to be ignored.
Fixes #2687
Reading Systems: Preview | Diff
Preview | Diff