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

Side by Side Diff: LayoutTests/fast/dom/shadow/shadow-nested-pseudo-id.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 <style> 5 <style>
6 6
7 p::x-shadow-child { 7 p::x-shadow-child {
8 color: red; 8 color: red;
9 } 9 }
10 10
11 a::x-nested-shadow-child { 11 a::x-nested-shadow-child {
12 color: blue; 12 color: blue;
13 } 13 }
14 14
(...skipping 27 matching lines...) Expand all
42 var tuple = buildShadowWithOneChild(host, "a", "x-shadow-child"); 42 var tuple = buildShadowWithOneChild(host, "a", "x-shadow-child");
43 shouldBe("window.getComputedStyle(tuple.shadowChild).color", "'rgb(255, 0, 0)'") ; 43 shouldBe("window.getComputedStyle(tuple.shadowChild).color", "'rgb(255, 0, 0)'") ;
44 var shadowTuple = buildShadowWithOneChild(tuple.shadowChild, "b", "x-nested-shad ow-child"); 44 var shadowTuple = buildShadowWithOneChild(tuple.shadowChild, "b", "x-nested-shad ow-child");
45 shouldBe("window.getComputedStyle(shadowTuple.shadowChild).color", "'rgb(255, 0, 0)'"); 45 shouldBe("window.getComputedStyle(shadowTuple.shadowChild).color", "'rgb(255, 0, 0)'");
46 shouldBe("window.getComputedStyle(shadowTuple.shadowChild).backgroundColor", "'r gb(0, 128, 0)'"); 46 shouldBe("window.getComputedStyle(shadowTuple.shadowChild).backgroundColor", "'r gb(0, 128, 0)'");
47 47
48 var successfullyParsed = true; 48 var successfullyParsed = true;
49 </script> 49 </script>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698