Define non-spatial phantom rendering, identifier uniqueness, and unsupported-reader behavior#76
Merged
Merged
Conversation
…pported-reader behavior Add a non-spatial and accessible rendering rule: a consumer that cannot render the spatial layer (a linear or reflow reader, a print or PDF export, a text extractor, or a screen reader) SHOULD surface phantom content by its cluster anchor in a stable order rather than silently dropping it, and SHOULD disclose an omission. Require cluster and phantom identifiers to be unique (within the file and within a cluster respectively), give a duplicate the same disposition as a broken connection target, and treat an ambiguous connection target as broken. State that a reader without phantoms support MUST ignore the phantom directory and manifest reference, that ignoring the out-of-hash layer is never an integrity error, and that a present phantom reference SHOULD also be declared in the extensions array.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
phantoms/directory and manifest reference (out-of-hash, so never an integrity error; higher data-file version is a WARNING); a presentmanifest.phantomsSHOULD also be declared inextensions[].Test plan
contentHashstaleness; inverted range) are already covered by phantoms §5.1 and core Anchors §7.3 respectively — verified, no change needed.