Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / setData-dirty-lines.html
blob10daa0ba63c921572df8af93fe1f209a83336faa
1 <head>
2 <script src="../../resources/ahem.js"></script>
3 <style>
4 div { width: 200px; font-family: Ahem; font-size: 40px; position: absolute; top: 0; left: 0; -webkit-font-smoothing: none; }
5 </style>
6 </head>
7 <body style="position: relative;">
8 <!-- There should be no red on the page. -->
9 <div style="color: red;">.AAAA B CC D <!-- -->E</div>
10 <div id="target" style="color: green;">AAAA B CC D <!-- -->E</div>
11 <script>
12 var target = document.getElementById("target");
13 target.removeChild(target.childNodes[1]);
14 target.offsetTop;
15 target.normalize();
16 target.firstChild.data = "." + target.firstChild.data;
17 </script>
18 </body>