Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Styling of nav lists in spine #2687

@mattgarrish

Description

@mattgarrish

Issue on the EPUB 3.3 Recommendation

7.3 The nav element: restrictions

Describe the problem

The only reference to the styling of the nav doc I can find in the authoring instructions is this:

In the context of this specification, the default display style of list items within nav elements is equivalent to the list-style: none property [csssnapshot]. EPUB creators MAY specify alternative list styling using CSS for rendering of the document in the spine.

But "In the context of this specification" doesn't meaningfully capture that what we're talking about here is when the reading system presents the nav elements in an out-of-spine context.

It's not just that you may specify alternative list styling when rendered in the spine, but as far as I'm aware you must disable list styling yourself in this context if you don't want it. The reading system isn't expected to do it for you.

Describe the fix or new feature you propose

Clarify that reading systems do not style the nav document in the spine.

All the text in the last two paragraphs about in-spine use probably better belongs in the existing section about using the nav document in the spine so we don't have this information sprinkled about. That would only leave the explanation that out-of-spine use defaults to no list styling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Spec-EPUB3The issue affects the core EPUB 3.X Recommendation

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions