fune/testing/web-platform/tests/css/css-view-transitions/iframe-and-main-frame-transition-old-main-old-iframe-ref.html
Khushal Sagar c576ad86ee Bug 1894150 [wpt PR 45972] - view-transition: Enable concurrent transitions for same-document., a=testonly
Automatic update from web-platform-tests
view-transition: Enable concurrent transitions for same-document.

Currently we only allow 1 transition within a LocalFrame tree. If
multiple LocalFrames rendering to the same compositor attempt to run a
ViewTransition, the ancestor transition suppresses the child transition.

This change removes this restriction now that the compositing stack
supports this pattern.

Bug: 330917526
Change-Id: Ib7973799b46a3d9dd223d8fdc6e3b5bb99e22f01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5499058
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1296341}

--

wpt-commits: 1385c9defd13af6b267aeceec04625c7233534cc
wpt-pr: 45972
2024-05-08 07:02:05 +00:00

27 lines
447 B
HTML

<!DOCTYPE html>
<title>View transitions: iframe and main frame transition at the same time (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
iframe {
position: fixed;
top: 0;
left: 0;
width: 50vw;
height: 50vh;
}
body {
background: green;
}
</style>
<iframe srcdoc="
<style>
body {
background: blue;
}
</style>
"></iframe>