1 <style type="text/css">
2 #content { -webkit-flow-into: article; }
4 -webkit-flow-from: article;
10 #target { width: 50px; height: 50px; background-color: red; margin: 10px; }
11 #target:hover { background-color: green; }
14 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=76456">https://bugs.webkit.org/show_bug.cgi?id=76456</a>
15 Inconsistent text selection behavior in regions</i>.
18 The red square should turn green when hovered.
20 <div id="region1" class="region"></div>
21 <div id="region2" class="region"></div>
23 <div id="content" style="outline: solid black">
25 <div style="height: 800px; background-color: purple;"></div>
26 <div style="float: right; background-color: lightyellow; margin: 5px;">
27 <div id="target"></div>
31 <div id="result" style="clear:both">FAIL: Test did not run.</div>
33 if (window.testRunner)
34 testRunner.dumpAsText();
36 var result = document.getElementById("result");
37 var hitElement = document.elementFromPoint(520, 465);
38 if (hitElement === document.getElementById("target"))
39 result.innerText = "PASS";
41 result.innerText = "FAIL: Hit " + hitElement;