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

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

Issue 82863002: Remove ::part. (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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <style id="style1">
6 div > .foo::part(target) { display: block; }
7 </style>
8 <style id="style-invalid">
9 ::part(target1, target2) { display: block }
10 ::part(target1.foo#bar) { display: block }
11 ::part(target1:hover) { display: block }
12 ::part() { display: block }
13 ::part { display: block }
14 </style>
15 </head>
16 <script>
17 description("Test for cssText of ':host()' rule.");
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");
20 </script>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698