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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html

Issue 1587643004: Restrict use of pseudo elements within compound. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@valid-selectors
Patch Set: Workaround for invalid selectors in UA style. Created 4 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html
index 9c6678fcf98a6de1f39a47a99305f7670e8cccbd..22aea9b989aac2a1035d1778b5365f3999f0bb7a 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html
@@ -16,6 +16,6 @@ shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0).
shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(1).cssText", "::content { display: block; }");
shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(2).cssText", "div content::content div content::content div.green { color: green; }");
shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(3).cssText", "::content * { color: blue; }");
-shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(4).cssText", "div::shadow::shadow::content { }"); // Should be dropped, really.
+shouldBe("document.getElementById('style1').sheet.cssRules.length", "4");
</script>
</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698