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

exempt html link from fallback requirements? #1312

Closed
mattgarrish opened this issue Mar 21, 2020 · 4 comments
Closed

exempt html link from fallback requirements? #1312

mattgarrish opened this issue Mar 21, 2020 · 4 comments
Labels
EPUB33 Issues addressed in the EPUB 3.3 revision Spec-EPUB3 The issue affects the core EPUB 3.3 Recommendation Topic-ContentDocs The issue affects EPUB content documents Type-FeatureRequest The issue requests new functionality be added

Comments

@mattgarrish
Copy link
Member

Epubcheck has crafted an interesting approach to validating adobe page template declarations whereby you only have to have a manifest fallback if there isn't also a css style sheet declaration in the html file. It doesn't match any prose from the specification, however, and I'm not entirely sure it even makes a lot of sense to require a css declaration/fallback.

I don't know if page templates are used any more, but it got me wondering why we treat linked resources In xhtml docs as publication resources at all. We don't treat package linked resources that way.

Right now, we only exempt linked resources if rel="pronunciation" is specified, but is there any reason not to extend the same to all resources referenced from link?

@mattgarrish mattgarrish added Type-FeatureRequest The issue requests new functionality be added Topic-ContentDocs The issue affects EPUB content documents labels Mar 21, 2020
@mattgarrish
Copy link
Member Author

but it got me wondering why we treat linked resources In xhtml docs as publication resources at all

Just to be clear here, I'm not suggesting we go as far as requiring they not be listed in the manifest, only that there doesn't seem to be a need for them to have fallbacks. We should just broaden the exemption to all link elements.

@dauwhe
Copy link
Contributor

dauwhe commented Dec 16, 2020

I'm trying to figure out when this might come up. There's lots of web usage of link for things like rel=preload but it seems unlikely that the link would be to a foreign resource.

@mattgarrish
Copy link
Member Author

Right now it would rationalize allowing page templates without fallbacks and remove the need for a special case for pls lexicons.

More generally, it avoids this ever becoming an issue moving forward when it doesn't need to be. If we envision HTML pages being translated to EPUB, it doesn't put any potential barriers in the way of the various icon links that exist, for example.

dauwhe added a commit to dauwhe/epub-specs that referenced this issue Apr 28, 2021
dauwhe added a commit that referenced this issue Apr 28, 2021
Drop requirement that HTML link elements have fallbacks per #1312
@dauwhe
Copy link
Contributor

dauwhe commented Apr 28, 2021

Closed via #1651

@dauwhe dauwhe closed this as completed Apr 28, 2021
@mattgarrish mattgarrish added the EPUB33 Issues addressed in the EPUB 3.3 revision label May 2, 2021
@mattgarrish mattgarrish added the Spec-EPUB3 The issue affects the core EPUB 3.3 Recommendation label Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPUB33 Issues addressed in the EPUB 3.3 revision Spec-EPUB3 The issue affects the core EPUB 3.3 Recommendation Topic-ContentDocs The issue affects EPUB content documents Type-FeatureRequest The issue requests new functionality be added
Projects
None yet
Development

No branches or pull requests

2 participants