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

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

Issue 48903019: Delete js-test-post.js. (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="../../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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698