Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
View-transitions should only be allowed when page is visible
- Skip the transition if document becomes hidden - Disallow oubound cross-document view transitions when document is hidden - Skip inbound cross-document view transition if document becomes hidden - When calling startViewTransition() in a hidden document, start is as skipped. Based on following CSS resolution: w3c/csswg-drafts#9543 (comment) Bug: 329302331 Change-Id: Ieef3238240b35c5d7f7f819793f65f71d7d75037 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5374309 Reviewed-by: David Bokan <bokan@chromium.org> Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1273445}
- Loading branch information