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

Unified Diff: LayoutTests/fast/ruby/rubyDOM-insert-rt-block-3.html

Issue 556017: Merge 53525 - Bug 33266 WebCore::InlineFlowBox::determineSpacingForFlowBoxes... (Closed) Base URL: svn://chrome-svn/chrome/branches/WebKit/249/
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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/ruby/rubyDOM-insert-rt-block-3.html
===================================================================
--- LayoutTests/fast/ruby/rubyDOM-insert-rt-block-3.html (revision 0)
+++ LayoutTests/fast/ruby/rubyDOM-insert-rt-block-3.html (revision 37094)
@@ -0,0 +1,28 @@
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<script>
+function test()
+{
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+ document.getElementById("result").firstChild.data = 'SUCCESS!';
+
+ var ruby = document.getElementById('R');
+ var span = document.getElementById('S');
+ var newRT = document.createElement('rt');
+ var newRTText = document.createTextNode('new ruby text');
+ newRT.appendChild(newRTText);
+ ruby.insertBefore(newRT, span);
+}
+</script>
+</head>
+<!-- Inserting a <rt> element, causing a split of block flow to block flow and block flow -->
+<!-- As this is a malformed example we don't care about the exact rendering output, only that it doesn't crash -->
+<body onload="test()">
+<div id="result">FAILED!</p>
+<br>
+<br>
+<ruby id="R">text <div>block</div> <span id="S">more</span> <div>text</div><rt>ruby text</rt></ruby>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698