forked from iiif-prezi/osullivan
-
Notifications
You must be signed in to change notification settings - Fork 0
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
V3 canvas: improve specificity, validation and tests #25
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
3d469b4
v3 canvas: improve specificity, validation and tests (WIP)
ndushay 9db8119
v3 canvas: add depth property for 3d objects
ndushay f435913
v3 canvas spec: add realistic examples from stanford
ndushay ef2adb8
v3 canvas: relax requirement for extent info
ndushay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain why you made the changes to remove int_only_keys and the additions to prohibited_keys and legal_viewing_hint_values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great question! So the
int_only_keys
that were here in Canvas are now inabstract_resource
;prohibited_keys
is a new thing (partly because so many keys are inabstract_resource
and partly because the v3.0 spec is full of "this key MUST not be used elsewhere" language); legal_viewing_hint_values are potentially unique to different classes so they need to be specified at this level, and I used the values indicated by the current v3.0 draft.It's possible that the placement of stuff in
abstract_resource
vs. individual classes still could use tweaking ... I think when Chris added theint_only_keys
and a few other such methods, he included all or nearly all the keys in theabstract_resource
method.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!