layout/reftests/ib-split/append-to-nested-split-inline-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
michael@0 5 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
michael@0 6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
michael@0 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
michael@0 8 <meta name="flags" content="dom" />
michael@0 9 <style>
michael@0 10 #outermost { border: 2px solid; }
michael@0 11 #outer { border: 4px solid yellow; }
michael@0 12 #inner { border: 6px sold green; }
michael@0 13 </style>
michael@0 14 <script>
michael@0 15 function doTest() {
michael@0 16 var i = document.getElementById("inner");
michael@0 17 var frag = document.createDocumentFragment();
michael@0 18 var newSpan = document.createElement("span");
michael@0 19 newSpan.appendChild(document.createTextNode("span"));
michael@0 20 newSpan.style.display = "block";
michael@0 21 frag.appendChild(newSpan);
michael@0 22 frag.appendChild(document.createTextNode("after span"));
michael@0 23 i.appendChild(frag);
michael@0 24 }
michael@0 25 </script>
michael@0 26 </head>
michael@0 27 <body onload="doTest()">
michael@0 28 <span id="outermost">
michael@0 29 <span id="outer">
michael@0 30 <span id="inner">
michael@0 31 <span style="display: block"></span>
michael@0 32 before span
michael@0 33 </span>
michael@0 34 </span>
michael@0 35 </span>
michael@0 36 </body>
michael@0 37 </html>

mercurial