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

Side by Side Diff: LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.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 id="style1"> 5 <style id="style1">
6 .foo::content div .bar::before { display: block; } 6 .foo::content div .bar::before { display: block; }
7 ::content { display: block; } 7 ::content { display: block; }
8 div content::content div content::content div.green { color: green; } 8 div content::content div content::content div.green { color: green; }
9 *::content * { color: blue; } 9 *::content * { color: blue; }
10 </style> 10 </style>
11 </head> 11 </head>
12 <script> 12 <script>
13 description("Test for cssText of '::distributed' rule."); 13 description("Test for cssText of '::distributed' rule.");
14 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0). cssText", ".foo::content div .bar::before { display: block; }"); 14 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0). cssText", ".foo::content div .bar::before { display: block; }");
15 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(1). cssText", "::content { display: block; }"); 15 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(1). cssText", "::content { display: block; }");
16 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(2). cssText", "div content::content div content::content div.green { color: green; } "); 16 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(2). cssText", "div content::content div content::content div.green { color: green; } ");
17 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(3). cssText", "*::content * { color: blue; }"); 17 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(3). cssText", "*::content * { color: blue; }");
18 </script> 18 </script>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698