6 -webkit-flow-from: content-flow;
9 border: 2px solid black;
14 -webkit-flow-into: content-flow;
20 background-color: red;
24 background-color: green;
28 background-color: blue;
32 <body onload="shuffle()">
33 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=103501">Fix content node renderers ordering inside the named flow thread</a>.</p>
34 <p>The test adds three colored content nodes (blocks) to a flow and then modifies the flow-into properties to force renderers to shuffle.</p>
35 <p>On success, you should see the blocks ordered: red, green, blue.</p>
37 <div id="red" class="float">1</div>
38 <div id="green"class="float">2</div>
39 <div id="blue" class="float">3</div>
40 <div class="region"></div>
43 function readd(content) {
44 content.style.webkitFlowInto = "none";
45 document.body.offsetTop;
46 content.style.webkitFlowInto = "content-flow";
47 document.body.offsetTop;
50 var greenElement = document.getElementById("green");
52 var redElement = document.getElementById("red");