| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 5 <script src="resources/helper.js"></script> | 5 <script src="resources/helper.js"></script> |
| 6 <style> | 6 <style> |
| 7 .border { border: 1px solid red; } | 7 .border { border: 1px solid red; } |
| 8 #box1 { -webkit-flow-into: flow; position: fixed; width: 50px; height: 50px;
background-color: green; top: 25px; left: 25px; } | 8 #box1 { -webkit-flow-into: flow; position: fixed; width: 50px; height: 50px;
background-color: green; top: 25px; left: 25px; } |
| 9 #region1 { -webkit-flow-from: flow; width: 100px; height: 100px; position: a
bsolute; top: 100px; left: 50px; } | 9 #region1 { -webkit-flow-from: flow; width: 100px; height: 100px; position: a
bsolute; top: 100px; left: 50px; } |
| 10 </style> | 10 </style> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 var region1 = document.getElementById("region1"); | 21 var region1 = document.getElementById("region1"); |
| 22 range1 = region1.webkitGetRegionFlowRanges(); | 22 range1 = region1.webkitGetRegionFlowRanges(); |
| 23 shouldEvaluateTo("range1.length", 1); | 23 shouldEvaluateTo("range1.length", 1); |
| 24 compareArrays(getRangeAt(range1, 0), ["wrapper", 0, "wrapper", 1]); | 24 compareArrays(getRangeAt(range1, 0), ["wrapper", 0, "wrapper", 1]); |
| 25 | 25 |
| 26 function hideRegionsAndFlows() { | 26 function hideRegionsAndFlows() { |
| 27 document.getElementById("region1").style.visibility = "hidden"; | 27 document.getElementById("region1").style.visibility = "hidden"; |
| 28 } | 28 } |
| 29 hideRegionsAndFlows(); | 29 hideRegionsAndFlows(); |
| 30 </script> | 30 </script> |
| 31 <script src="../js/resources/js-test-post.js"></script> | |
| 32 </body> | 31 </body> |
| 33 </html> | 32 </html> |
| OLD | NEW |