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

Side by Side Diff: LayoutTests/fast/ruby/rubyDOM-insert-rt-block-2.html

Issue 554075: Merge 53525 - Bug 33266 WebCore::InlineFlowBox::determineSpacingForFlowBoxes... (Closed) Base URL: svn://chrome-svn/chrome/branches/WebKit/249s/
Patch Set: Created 10 years, 11 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
(Empty)
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4 <script>
5 function test()
6 {
7 if (window.layoutTestController)
8 layoutTestController.dumpAsText();
9 document.getElementById("result").firstChild.data = 'SUCCESS!';
10
11 var ruby = document.getElementById('R');
12 var span = document.getElementById('S');
13 var newRT = document.createElement('rt');
14 var newRTText = document.createTextNode('new ruby text');
15 newRT.appendChild(newRTText);
16 ruby.insertBefore(newRT, span);
17 }
18 </script>
19 </head>
20 <!-- Inserting a <rt> element, causing a split of block flow to block flow and i nline flow -->
21 <!-- As this is a malformed example we don't care about the exact rendering outp ut, only that it doesn't crash -->
22 <body onload="test()">
23 <div id="result">FAILED!</p>
24 <br>
25 <br>
26 <ruby id="R">text <div>block</div> <span id="S">more</span> text<rt>ruby text</r t></ruby>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698