5 #content { -webkit-flow-into: flow; }
6 #container { -webkit-flow-from: flow; width: 100px; height: 100px;}
9 <script src="../../../resources/js-test.js"></script>
11 <div id="content"></div>
12 <div id="container"></div>
14 if (window.testRunner)
15 testRunner.dumpAsText();
16 var namedFlowCollection = document.webkitGetNamedFlows();
17 document.body.removeChild(document.getElementById("content"));
18 document.body.removeChild(document.getElementById("container"));
20 // Force a re-layout event, which forces the deletion of the underlying NamedFlow.
21 document.body.offsetTop;
23 var namedFlow = namedFlowCollection.flow;
24 if (namedFlow.name == "flow")
25 document.body.innerText = "PASS";
27 document.body.innerText = "FAIL";