2 table { border-collapse: collapse; }
3 td { border:
1px solid black; padding:
4px; }
5 ul.inlineItems li { display: inline; }
7 div.inlineDivs div { display: inline; }
10 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=14134">http://bugs.webkit.org/show_bug.cgi?id=
14134</a>
11 REGRESSION (r25353): Whitespace nodes ignored between inline list items
</i>.
14 This tests that whitespace-only text nodes get renderers when they should
15 even if initially they did not need a renderer.
18 The left column should be identical to the right column.
23 <div id=
"target">suit
</div>
37 <ul class=
"inlineItems">
51 <div class=
"inlineDivs">
61 var target
= document
.getElementById("target");
62 target
.insertBefore(document
.createTextNode(" "), target
.firstChild
);
63 target
.insertBefore(document
.createTextNode("wet"), target
.firstChild
);
65 document
.getElementById("list").className
= "inlineItems";
67 document
.getElementById("div").className
= "inlineDivs";