| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title></title> | 4 <title></title> |
| 5 <style type="text/css"> | 5 <style type="text/css"> |
| 6 #targeta:first-letter { color: blue; } | 6 #targeta:first-letter { color: blue; } |
| 7 #targetb:first-letter { color: blue; } | 7 #targetb:first-letter { color: blue; } |
| 8 #targetc:first-letter { color: blue; } | 8 #targetc:first-letter { color: blue; } |
| 9 </style> | 9 </style> |
| 10 | 10 |
| 11 <script type="text/javascript"> | 11 <script type="text/javascript"> |
| 12 function test() | 12 function test() |
| 13 { | 13 { |
| 14 document.body.offsetTop; | 14 document.body.offsetTop; |
| 15 document.getElementById("targeta").innerHTML = "PASS"; | 15 document.getElementById("targeta").innerHTML = "PASS"; |
| 16 document.getElementById("targetb").firstChild.data = "PASS"; | 16 document.getElementById("targetb").firstChild.data = "PASS"; |
| 17 document.getElementById("targetc").replaceChild(document.createTextNode("PAS
S"), document.getElementById("targetc").firstChild); | 17 document.getElementById("targetc").replaceChild(document.createTextNode("PAS
S"), document.getElementById("targetc").firstChild); |
| 18 } | 18 } |
| 19 </script> | 19 </script> |
| 20 | 20 |
| 21 </head> | 21 </head> |
| 22 <body onload="test()"> | 22 <body onload="test()"> |
| 23 <p> | 23 <p> |
| 24 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=3560">http://bugzil
la.opendarwin.org/show_bug.cgi?id=3560</a> | 24 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=3560">http://bugzil
la.opendarwin.org/show_bug.cgi?id=3560</a> |
| 25 page with use of first-letter crashes reproducibly in RenderObject::renderArena(
)</i>. | 25 page with use of first-letter crashes reproducibly in LayoutObject::renderArena(
)</i>. |
| 26 </p> | 26 </p> |
| 27 <p> | 27 <p> |
| 28 The next three lines should all read “<span style="color: blue;">P</span>A
SS”, with nothing before the P. | 28 The next three lines should all read “<span style="color: blue;">P</span>A
SS”, with nothing before the P. |
| 29 </p> | 29 </p> |
| 30 <hr> | 30 <hr> |
| 31 <p id="targeta">didn’t run</p> | 31 <p id="targeta">didn’t run</p> |
| 32 <p id="targetb">didn’t run</p> | 32 <p id="targetb">didn’t run</p> |
| 33 <p id="targetc">didn’t run</p> | 33 <p id="targetc">didn’t run</p> |
| 34 </body> | 34 </body> |
| 35 </html> | 35 </html> |
| OLD | NEW |