Bug 271248 - [view-transitions] Skip view transition on hidden pages
Summary: [view-transitions] Skip view transition on hidden pages
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Nguyen (:ntim)
URL:
Keywords: InRadar
Depends on:
Blocks: css-view-transitions
  Show dependency treegraph
 
Reported: 2024-03-19 09:38 PDT by Noam Rosenthal
Modified: 2024-09-03 00:13 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noam Rosenthal 2024-03-19 09:38:53 PDT
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
Comment 2 Radar WebKit Bug Importer 2024-03-19 09:44:54 PDT
<rdar://problem/125017653>
Comment 3 Tim Nguyen (:ntim) 2024-03-20 08:22:23 PDT
Pull request: https://github.com/WebKit/WebKit/pull/26191
Comment 4 Tim Nguyen (:ntim) 2024-09-02 17:52:22 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/47931
Comment 5 EWS 2024-09-03 00:13:24 PDT
Committed 283084@main (d985c5165232): <https://commits.webkit.org/283084@main>

Reviewed commits have been landed. Closing PR #26191 and removing active labels.