-
Notifications
You must be signed in to change notification settings - Fork 20
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
Tests for manifest item fallback, unclear expected outcome #165
Comments
The expectation is clear with the test that has a specific XML content type: epub-tests/tests/pub-foreign_xml-suffix-spine/EPUB/package.opf Lines 20 to 27 in 9a023ce
... but conversely the "plain" epub-tests/tests/pub-foreign_xml-spine/EPUB/package.opf Lines 20 to 27 in 9a023ce
More specifically:
epub-tests/tests/pub-foreign_xml-spine/EPUB/package.opf Lines 8 to 11 in 9a023ce
|
Similarly with the JSON test, I struggle to understand the criteria for fail vs. pass: epub-tests/tests/pub-foreign_json-spine/EPUB/package.opf Lines 20 to 27 in 9a023ce
Let's say my reading system claims to support (Naturally, in the real world I would expect most reading systems to follow the fallback chain to XHTML, but that's beside the point) |
see related discussion #245 Regarding pub-foreign_bad-fallback what happens is that Thorium open system dialog and ask where to save the file. I find it's a useful feature :) I consider it "n/a" (no fallback is needed as access to the file is provided). Same for pub-foreign_json-spine and pub-foreign_xml-spine |
epub-tests/tests/pub-foreign_bad-fallback/EPUB/package.opf
Lines 20 to 27 in 9a023ce
In this case, the resulting reading order (i.e. computed spine, once the fallback chain is resolved) is empty if the reading system follows the cascade of unsupported media types. In some reading systems this may cause a crash / broken user interface, in others this may result in an empty viewport ... what consitutes a pass vs. fail?
The text was updated successfully, but these errors were encountered: