-
Notifications
You must be signed in to change notification settings - Fork 690
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
[css-view-transitions-2] Apply new @view-transition rule syntax #9523
Conversation
- Use the `@view-transition { navigation: auto | none; type: ... }` syntax as per the resolution - `type: none` means that type is unspecified, needs a resolution - reloads are ignored as per previous resolution - Renamed the JS param "type" instead of "types" - Currently types are resolved both at old and new document separately, this needs a resolution. Closes w3c#9383 See resolution: w3c#9383 (comment)
cc @bokand |
|
||
1. Set |document|'s [=document/ready to render fired=] to true. | ||
1. If |matchingRule| contains a ''@view-transition/type'' descriptor, then return a [=list=] of strings corresponding to that descriptor's [=computed value=]. |
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.
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.
Yes, though there is no way to specify an empty list.
|
||
1. Let |transition| be the result of getting the [=inbound cross-document view-transition=] for |document|. | ||
1. [=Fire an event=] named <code>pagereveal</code> at |document|'s [=relevant global object=], | ||
using {{PageRevealEvent}}, with [=PageRevealEvent/view transition=] initialized to . |
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.
I think you meant "initialized to the [=inbound cross-document view-transition=]".
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.
Oops, should be |transition|. Will follow up.
@view-transition { navigation: auto | none; type: ... }
syntax as per the resolutiontype: none
means that type is unspecified, needs a resolutionCloses #9383
See resolution: #9383 (comment)