Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Side by Side Diff: LayoutTests/fast/regions/get-regions-by-content2.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698