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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadowdom-dynamic-styling.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 <script> 5 <script>
6 description("Test for https://bugs.webkit.org/show_bug.cgi?id=92899. Dynamically styling ShadowDom content on a node distributed to another shadow insertion poi nt fails."); 6 description("Test for https://bugs.webkit.org/show_bug.cgi?id=92899. Dynamically styling ShadowDom content on a node distributed to another shadow insertion poi nt fails.");
7 7
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 10
11 </script> 11 </script>
12 </head> 12 </head>
13 <body> 13 <body>
14 <div id="box" style="border: 1px solid black;"> 14 <div id="box" style="border: 1px solid black;">
(...skipping 11 matching lines...) Expand all
26 "<div id='target'>Content</div>"; 26 "<div id='target'>Content</div>";
27 27
28 document.body.offsetLeft; 28 document.body.offsetLeft;
29 29
30 target = youngestShadowRoot.querySelector("div"); 30 target = youngestShadowRoot.querySelector("div");
31 target.classList.add("selected"); 31 target.classList.add("selected");
32 shouldBe('window.getComputedStyle(target).backgroundColor', '"rgb(255, 0, 0)"'); 32 shouldBe('window.getComputedStyle(target).backgroundColor', '"rgb(255, 0, 0)"');
33 </script> 33 </script>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698