summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-animations/webkit-writing-mode-crash.html
blob: 8c851a7572e4568816bd3ee05669d72ba50be67f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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>