7 -webkit-flow-from: no-flow;
12 <p>Tests that changing a region element into a normal element makes the element's content available.</p>
14 <div id="region_content">This text should be visible when the element is no longer a region.</div>
17 if (window.layoutTestController)
18 layoutTestController.dumpAsText();
19 var region = document.getElementsByClassName("region")[0];
20 // The element is a region without a connected flow, its content is not available.
21 var pass = region.innerText.length == 0;
22 // The element becomes a normal element, its content becomes available.
23 region.className = "";
24 pass &= region.innerText.length != 0;
25 document.write("<p>" + pass ? "PASS" : "FAIL" + "</p>");