Skip to content
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-1] Auto-skip a view-transition if document is hidden #9942

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

noamr
Copy link
Collaborator

@noamr noamr commented Feb 13, 2024

See resolution.

Note: this only covers [css-view-transitions-1], will follow up on cross-document view transitions.

@noamr noamr requested a review from khushalsagar February 13, 2024 10:48
@@ -956,8 +956,12 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;

1. Let |document| be [=this's=] [=relevant global object's=] [=associated document=].

1. If |document|'s [=Document/visibility state=] is "<code>hidden</code>",
Copy link
Member

Choose a reason for hiding this comment

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

We need to do the same thing if the state flips to hidden while a transition was running too.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, that would be in the HTML spec.

@noamr noamr merged commit fbb66f7 into w3c:main Feb 13, 2024
1 check passed
@noamr noamr deleted the vt-hidden branch February 13, 2024 18:09
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.

2 participants