summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/list-style-position-style-change-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/list-style-position-style-change-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-view-transitions/list-style-position-style-change-crash.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/list-style-position-style-change-crash.html b/testing/web-platform/tests/css/css-view-transitions/list-style-position-style-change-crash.html
new file mode 100644
index 0000000000..5910d5d95a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-view-transitions/list-style-position-style-change-crash.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html class="test-wait">
+<title>View transitions: list-style-position crash</title>
+<link rel="help" href="https://github.com/WICG/view-transitions">
+<link rel="author" href="mailto:bokan@chromium.org">
+
+<script>
+onload = async () => {
+ let vt = document.startViewTransition();
+ await vt.ready;
+ await new Promise(resolve => requestAnimationFrame(resolve));
+
+ document.documentElement.style.listStylePosition = 'inside';
+ // Force style update.
+ window.scrollX;
+
+ document.documentElement.classList.remove('test-wait');
+}
+</script>
+</html>