Bug 271248
| Summary: | [view-transitions] Skip view transition on hidden pages | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Noam Rosenthal <noam> |
| Component: | CSS | Assignee: | Tim Nguyen (:ntim) <ntim> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ntim, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/47931 | ||
| Bug Depends on: | |||
| Bug Blocks: | 259055 | ||
Noam Rosenthal
View transitions should be immediately skipped when document is hidden, whether it's hidden before or during the transition.
This is based on CSSWG resolution:
https://github.com/w3c/csswg-drafts/issues/9543#issuecomment-1939242246
See WPT: https://wpt.fyi/results/css/css-view-transitions/transition-in-hidden-page.html
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Noam Rosenthal
See the spec: https://drafts.csswg.org/css-view-transitions-1/#page-visibility-change-steps
Radar WebKit Bug Importer
<rdar://problem/125017653>
Tim Nguyen (:ntim)
Pull request: https://github.com/WebKit/WebKit/pull/26191
Tim Nguyen (:ntim)
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/47931
EWS
Committed 283084@main (d985c5165232): <https://commits.webkit.org/283084@main>
Reviewed commits have been landed. Closing PR #26191 and removing active labels.