Skip to content

Commit 5a53ac9

Browse files
noamrchromium-wpt-export-bot
authored andcommitted
Check null for originating element when synchronizing VT rects
Bug: 522621866 Change-Id: I8811fc33d376fe7acfcba442c6075bcf0f795ea9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8145860 Auto-Submit: Noam Rosenthal <nrosenthal@google.com> Reviewed-by: Vladimir Levin <vmpstr@chromium.org> Commit-Queue: Vladimir Levin <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1668953}
1 parent 56b0a9f commit 5a53ac9

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html class="test-wait">
3+
<title>View transitions: documentElement.remove sync after startViewTransition</title>
4+
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
5+
<link rel="author" href="mailto:vmpstr@chromium.org">
6+
<script>
7+
function runTest() {
8+
document.startViewTransition(() => {});
9+
const html = document.documentElement;
10+
html.remove();
11+
html.classList.remove('test-wait');
12+
}
13+
onload = () => requestAnimationFrame(() => requestAnimationFrame(runTest));
14+
</script>
15+
</html>

0 commit comments

Comments
 (0)