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

Side by Side Diff: LayoutTests/fast/regions/webkit-named-flow-get-content.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 #region { -webkit-flow-from: flow; width: 250px; height: 150px; } 7 #region { -webkit-flow-from: flow; width: 250px; height: 150px; }
8 </style> 8 </style>
9 </head> 9 </head>
10 <body> 10 <body>
11 <!-- 11 <!--
12 1. The content nodes collection for a named flow 'flow' contains only th ose elements that have 12 1. The content nodes collection for a named flow 'flow' contains only th ose elements that have
13 the style property -webkit-flow-into set to 'flow'. 13 the style property -webkit-flow-into set to 'flow'.
14 2. If an element has an ancestor with -webkit-flow-into = 'flow' but doe s not have its '-webkit-flow-into' 14 2. If an element has an ancestor with -webkit-flow-into = 'flow' but doe s not have its '-webkit-flow-into'
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 var namedFlowContent14 = flow2.getContent(); 126 var namedFlowContent14 = flow2.getContent();
127 shouldEvaluateTo("namedFlowContent14.length", "0"); 127 shouldEvaluateTo("namedFlowContent14.length", "0");
128 document.body.appendChild(article); 128 document.body.appendChild(article);
129 var namedFlowContent15 = flow2.getContent(); 129 var namedFlowContent15 = flow2.getContent();
130 shouldEvaluateTo("namedFlowContent15.length", "1"); 130 shouldEvaluateTo("namedFlowContent15.length", "1");
131 131
132 document.getElementById("region").style.visibility = "hidden"; 132 document.getElementById("region").style.visibility = "hidden";
133 </script> 133 </script>
134 </body> 134 </body>
135 </html> 135 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698