Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / first-letter-detach.html
blob95b5bb5a42eb3e8e906e28ad012bb94125b0ef9a
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <title></title>
5 <style type="text/css">
6 #targeta:first-letter { color: blue; }
7 #targetb:first-letter { color: blue; }
8 #targetc:first-letter { color: blue; }
9 </style>
11 <script type="text/javascript">
12 function test()
14 document.body.offsetTop;
15 document.getElementById("targeta").innerHTML = "PASS";
16 document.getElementById("targetb").firstChild.data = "PASS";
17 document.getElementById("targetc").replaceChild(document.createTextNode("PASS"), document.getElementById("targetc").firstChild);
19 </script>
21 </head>
22 <body onload="test()">
23 <p>
24 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=3560">http://bugzilla.opendarwin.org/show_bug.cgi?id=3560</a>
25 page with use of first-letter crashes reproducibly in LayoutObject::renderArena()</i>.
26 </p>
27 <p>
28 The next three lines should all read &ldquo;<span style="color: blue;">P</span>ASS&rdquo;, with nothing before the P.
29 </p>
30 <hr>
31 <p id="targeta">didn&rsquo;t run</p>
32 <p id="targetb">didn&rsquo;t run</p>
33 <p id="targetc">didn&rsquo;t run</p>
34 </body>
35 </html>