Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / gradients-em-stops-repaint.html
blobb6173aaadf1103273d6e6ea0bf34c25a8c5d949d
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 .box {
7 display: inline-block;
8 height: 120px;
9 width: 300px;
10 margin: 10px;
11 border: 1px solid black;
12 background-repeat: no-repeat;
13 font-size: 12pt;
16 .em-units > .box {
17 background-image: -webkit-linear-gradient(left, yellow, yellow 5em, green 5em);
18 background-image: -moz-linear-gradient(left, yellow, yellow 5em, green 5em);
21 .indicator {
22 background-color: black;
23 height: 20px;
25 </style>
26 <script type="text/javascript" src="resources/text-based-repaint.js"></script>
27 <script type="text/javascript">
28 function repaintTest()
30 document.getElementById("box4").style.fontSize = "36pt";
32 </script>
33 </script>
34 </head>
35 <body onload="runRepaintTest();">
37 <div class="em-units">
38 <div id="box3" class="box"><div class="indicator" style="width: 5em;"></div></div>
39 <div id="box4" class="box"><div class="indicator" style="width: 5em;"></div></div>
40 </div>
42 </body>
43 </html>