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="../../resources/js-test.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; } |
11 .region { -webkit-flow-from: flow; } | 11 .region { -webkit-flow-from: flow; } |
12 .region2 { -webkit-flow-from: flow2; } | 12 .region2 { -webkit-flow-from: flow2; } |
13 .noRegion { -webkit-flow-from: none; } | 13 .noRegion { -webkit-flow-from: none; } |
14 </style> | 14 </style> |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 </body> | 89 </body> |
90 </html> | 90 </html> |
91 | 91 |
OLD | NEW |