summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/text/reftests/transform-dynamic-change-root.html
blob: dd8a22d05db1f0149a74287766be05c63d319b6e (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="reftest-wait">
<link rel="help" href="https://crbug.com/1365243">
<link rel="match" href="transform-dynamic-change-root-ref.html">
<style>
:root { scale: 1 5; }
</style>

<body>
<svg><text y=30>Text</text></svg>
<script>
requestAnimationFrame(() => {
  requestAnimationFrame(() => {
    document.styleSheets[0].removeRule(0);
    document.documentElement.classList.remove('reftest-wait');
  });
});
</script>
</body>
</html>