Skip to content

Conversation

@noamr
Copy link
Collaborator

@noamr noamr commented Sep 20, 2023

Rename based on TPAC conversation: auto-view-transition => view-transition (with trigger: navigation as the descriptor)

Also added CSSOM support for the new rule.

Close #8048 as per TPAC discussion.

Opened #9383 to continue bikeshedding discussion about the at-rule name. We can update the spec once that's finalized.

@noamr noamr changed the title [css-view-transitions-2] Apply renames to reflect current discussions [css-view-transitions-2] Apply renames based on TPAC discussion Sep 21, 2023
@noamr
Copy link
Collaborator Author

noamr commented Sep 27, 2023

@khushalsagar @vmpstr ping?

enum ViewTransitionTrigger { "navigation", "none" };
[Exposed=Window]
interface CSSViewTransitionRule : CSSRule {
readonly attribute CSSOMString navigationConditionText;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing this is not an enum because eventually we'll have a list of qualifiers here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. This is consistent with existing conditionText attributes

</div>

<div algorithm="monkey patch to rendering">
Run the following step in [=update the rendering|updating the renedering=], before [=running the animation frame callbacks=]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bokand to review the timing for this.

Copy link
Collaborator Author

@noamr noamr Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's review the specifics as part of whatwg/html#9791. Merging for now.

Copy link
Member

@khushalsagar khushalsagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % bokan.

Btw we should be using semantic line breaks for wrapping but makes sense to do that in a separate PR.

@noamr noamr merged commit 7ebecab into w3c:main Oct 12, 2023
@noamr noamr deleted the vt2-renames branch October 12, 2023 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[css-view-transitions-2] Declarative opt-in for cross-document navigations

3 participants