Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / repaint / svg-length-rem-unit-font-size-change.html
blob3286f17ec22c7f5a7bd3887f083f6ae6c4d0fdce
1 <!DOCTYPE HTML>
2 <html style="font-size:10px">
3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 <script>
5 window.testIsAsync = true;
6 window.onload = runRepaintAndPixelTest;
8 function repaintTest() {
9 setTimeout(function() {
10 document.getElementsByTagName("html")[0].style.fontSize="5px";
11 requestAnimationFrame(function() {
12 if (window.testRunner)
13 finishRepaintTest();
14 });
15 }, 0);
17 </script>
18 <body>
19 <div style="font-size:10px">
20 <svg style="width:20rem; height:20rem;">
21 <rect width="20rem" height="20em" style="fill:rgb(0,0,255);" />
22 </svg>
23 </div>
24 </body>
25 </html>