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

Side by Side Diff: LayoutTests/fast/regions/offsetParent-in-flow-thread.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="../js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Test offsetParent for elements inside a named flow.") 8 description("Test offsetParent for elements inside a named flow.")
9 9
10 var article = document.createElement("div"); 10 var article = document.createElement("div");
11 document.body.appendChild(article); 11 document.body.appendChild(article);
12 article.style.webkitFlowInto = "flow"; 12 article.style.webkitFlowInto = "flow";
13 shouldBe("article.offsetParent", "document.body"); 13 shouldBe("article.offsetParent", "document.body");
14 14
(...skipping 15 matching lines...) Expand all
30 shouldBe("tdChild.offsetParent", "td"); 30 shouldBe("tdChild.offsetParent", "td");
31 31
32 tdChild.style.webkitFlowInto = "flow"; 32 tdChild.style.webkitFlowInto = "flow";
33 shouldBe("tdChild.offsetParent", "document.body"); 33 shouldBe("tdChild.offsetParent", "document.body");
34 34
35 shouldBeNull("document.body.offsetParent"); 35 shouldBeNull("document.body.offsetParent");
36 </script> 36 </script>
37 </body> 37 </body>
38 </html> 38 </html>
39 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698