Skip to content
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

index semantic isn't restricted to body #1108

Open
mattgarrish opened this issue Mar 12, 2020 · 0 comments
Open

index semantic isn't restricted to body #1108

mattgarrish opened this issue Mar 12, 2020 · 0 comments
Assignees
Labels
spec: EPUB Indexes Impacting the support of the EPUB Indexes specification status: in discussion The issue is being discussed by the development team type: tests The issue is related to the test suite

Comments

@mattgarrish
Copy link
Member

mattgarrish commented Mar 12, 2020

There's an index test (index-declaration-body-error.xhtml) that throws an error if epub:type=index isn't on the body element when there's other content in the file, but this seems to be the opposite of what the specification says:

If an index, or a part of an index, is embedded within a content document that also contains other types of content, any [HTML5] sectioning content element may be used to wrap it (for example, <section epub:type="index">).

@rdeltour rdeltour self-assigned this Mar 12, 2020
@rdeltour rdeltour added status: in discussion The issue is being discussed by the development team type: tests The issue is related to the test suite labels Mar 12, 2020
@rdeltour rdeltour added the spec: EPUB Indexes Impacting the support of the EPUB Indexes specification label Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec: EPUB Indexes Impacting the support of the EPUB Indexes specification status: in discussion The issue is being discussed by the development team type: tests The issue is related to the test suite
Projects
None yet
Development

No branches or pull requests

2 participants