summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-animations/webkit-writing-mode-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-animations/webkit-writing-mode-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-animations/webkit-writing-mode-crash.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-animations/webkit-writing-mode-crash.html b/testing/web-platform/tests/css/css-animations/webkit-writing-mode-crash.html
new file mode 100644
index 0000000000..8c851a7572
--- /dev/null
+++ b/testing/web-platform/tests/css/css-animations/webkit-writing-mode-crash.html
@@ -0,0 +1,20 @@
+<!doctype html>
+<html class="test-wait">
+<link rel="help" href="https://crbug.com/1077501">
+<style>
+ @keyframes test {
+ from { -webkit-writing-mode: var(--x) }
+ to { -webkit-writing-mode: var(--y) }
+ }
+ div {
+ animation: test 1s;
+ }
+</style>
+<div id=div></div>
+<script>
+window.onload = () => {
+ div.offsetTop;
+ document.documentElement.classList.remove('test-wait');
+};
+</script>
+</html>