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

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

Issue 1607873002: Serialize namespaced type/* selectors according to CSSOM spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@queryselector-no-pseudoelm-20160118
Patch Set: More thorough fix 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
Index: third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-css-text.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-css-text.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-css-text.html
index d0a014797bd68148055ff73ebccff239b255e291..74430423361122c4e617efbfd5d86e997b5fb288 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-css-text.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/slotted-pseudo-element-css-text.html
@@ -5,7 +5,7 @@
::slotted { display: block; } /* invalid - no parameter */
::slotted() { display: block; } /* invalid - empty parameter */
::slotted(*) { display: block; }
-*::slotted(*) { display: block; }
+::slotted(*) { display: block; }
kochi 2016/01/25 04:21:53 Please keep the prefix "*" here. Otherwise this te
rune 2016/01/25 09:33:17 Ooops. That was not intentional. Fixed in PS6.
::slotted(div) { display: block; } /* expects universal selector (*) on the left in cssText */
::slotted( div) { display: block; } /* allow a space on left */
::slotted(div ) { display: block; } /* allow a space on right */
@@ -40,7 +40,7 @@ test(() => {
var expectedCSSTexts = [
"::slotted(*) { display: block; }",
- "*::slotted(*) { display: block; }",
+ "::slotted(*) { display: block; }",
"::slotted(div) { display: block; }",
"::slotted(div) { display: block; }",
"::slotted(div) { display: block; }",

Powered by Google App Engine
This is Rietveld 408576698