Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / splitText-dirty-lines.html
blob88b96e08133d30ce36bebb0b8923501df9edd8a5
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 CCCC D <!-- -->E</div>
10 <div id="target" style="color: green;">AAAA B CCCC 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.splitText(0);
17 </script>
18 </body>