| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/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 body { font-family: monospace; } | 7 body { font-family: monospace; } |
| 8 #region, #region2 { width: 250px; height: 50px; } | 8 #region, #region2 { width: 250px; height: 50px; } |
| 9 .article { -webkit-flow-into: flow; } | 9 .article { -webkit-flow-into: flow; } |
| 10 .article2 { -webkit-flow-into: flow2; } | 10 .article2 { -webkit-flow-into: flow2; } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 shouldBeNonNull("regionList8"); | 79 shouldBeNonNull("regionList8"); |
| 80 shouldEvaluateTo("regionList8.length", 0); | 80 shouldEvaluateTo("regionList8.length", 0); |
| 81 | 81 |
| 82 // Add a region to the second named flow, the region list should con
tain one element | 82 // Add a region to the second named flow, the region list should con
tain one element |
| 83 // since the p element is a child of article that is collected by fl
ow2. | 83 // since the p element is a child of article that is collected by fl
ow2. |
| 84 document.getElementById("region2").className = "region2"; | 84 document.getElementById("region2").className = "region2"; |
| 85 var regionList9 = namedFlow2.getRegionsByContent(pElement); | 85 var regionList9 = namedFlow2.getRegionsByContent(pElement); |
| 86 shouldBeNonNull("regionList9"); | 86 shouldBeNonNull("regionList9"); |
| 87 shouldEvaluateTo("regionList9.length", 1); | 87 shouldEvaluateTo("regionList9.length", 1); |
| 88 </script> | 88 </script> |
| 89 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 90 </body> | 89 </body> |
| 91 </html> | 90 </html> |
| 92 | 91 |
| OLD | NEW |