Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: LayoutTests/fast/css/first-letter-detach.html

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 &ldquo;<span style="color: blue;">P</span>A SS&rdquo;, with nothing before the P. 28 The next three lines should all read &ldquo;<span style="color: blue;">P</span>A SS&rdquo;, with nothing before the P.
29 </p> 29 </p>
30 <hr> 30 <hr>
31 <p id="targeta">didn&rsquo;t run</p> 31 <p id="targeta">didn&rsquo;t run</p>
32 <p id="targetb">didn&rsquo;t run</p> 32 <p id="targetb">didn&rsquo;t run</p>
33 <p id="targetc">didn&rsquo;t run</p> 33 <p id="targetc">didn&rsquo;t run</p>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698