Skip to content

Commit 57ce281

Browse files
emiliomoz-wptsync-bot
authored andcommitted
Fix view transitions with table as the root element frame.
Use the root element style frame (not primary frame) for style checks in the root scroll frame. This only makes a difference for display: table on the root, and is needed because a lot of the checks that we do for filters, etc on the root check IsRootElementStyleFrame(), so the checks are inconsistent otherwise. Differential Revision: https://phabricator.services.mozilla.com/D266320 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1990582 gecko-commit: e7245cd02538de3c13f96ce93b50db1d6d79b1cc gecko-reviewers: jwatt
1 parent 4031e66 commit 57ce281

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!DOCTYPE html>
2+
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1990582">
3+
<script>
4+
document.addEventListener("DOMContentLoaded", async () => {
5+
document.documentElement.style.display = "inline table"
6+
document.startViewTransition(undefined)
7+
})
8+
</script>

0 commit comments

Comments
 (0)