Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / repaint / svg-length-ch-unit-font-size-change.html
blob5500d17005ad42cfa23dc09b5c52fb6fc2190b10
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.getElementById("rootdiv").style.fontSize="20px";
11 requestAnimationFrame(function() {
12 if (window.testRunner)
13 finishRepaintTest();
14 });
15 }, 0);
17 </script>
18 <style>
19 @font-face {
20 font-family: Ahem;
21 src: url(../../resources/Ahem.ttf);
23 </style>
24 <body>
25 <div id="rootdiv" style="font-size:10px; font-family:Ahem">
26 <svg style="width:10ch; height:10ch;">
27 <rect width="10ch" height="10ch" style="fill:rgb(0,0,255);" />
28 </svg>
29 </div>
30 </body>
31 </html>