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

Side by Side Diff: LayoutTests/fast/dom/shadow/part-pseudo-element-css-text.html

Issue 48903019: Delete js-test-post.js. (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="../../js/resources/js-test-pre.js"></script>
5 <style id="style1"> 5 <style id="style1">
6 div > .foo::part(target) { display: block; } 6 div > .foo::part(target) { display: block; }
7 </style> 7 </style>
8 <style id="style-invalid"> 8 <style id="style-invalid">
9 ::part(target1, target2) { display: block } 9 ::part(target1, target2) { display: block }
10 ::part(target1.foo#bar) { display: block } 10 ::part(target1.foo#bar) { display: block }
11 ::part(target1:hover) { display: block } 11 ::part(target1:hover) { display: block }
12 ::part() { display: block } 12 ::part() { display: block }
13 ::part { display: block } 13 ::part { display: block }
14 </style> 14 </style>
15 </head> 15 </head>
16 <script> 16 <script>
17 description("Test for cssText of ':host()' rule."); 17 description("Test for cssText of ':host()' rule.");
18 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0). cssText", "div > .foo::part(target) { display: block; }"); 18 shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0). cssText", "div > .foo::part(target) { display: block; }");
19 shouldBe("document.getElementById('style-invalid').sheet.cssRules.length", "0"); 19 shouldBe("document.getElementById('style-invalid').sheet.cssRules.length", "0");
20 </script> 20 </script>
21 <script src="../../js/resources/js-test-post.js"></script>
22 </html> 21 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/part-pseudo-element.html ('k') | LayoutTests/fast/dom/shadow/pseudo-attribute.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698