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

Unified Diff: Source/core/css/CSSGrammar.y

Issue 210813002: Rename /shadow-deep/ combinator to /deep/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | « LayoutTests/fast/dom/shadow/style-with-cat-expected.txt ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSGrammar.y
diff --git a/Source/core/css/CSSGrammar.y b/Source/core/css/CSSGrammar.y
index 32e44cd47b79df9261199fcdd8b678436deccdbd..155e6992b6eb6b1ea3de3ccea5113d42d92b7c17 100644
--- a/Source/core/css/CSSGrammar.y
+++ b/Source/core/css/CSSGrammar.y
@@ -1047,11 +1047,11 @@ combinator:
| '~' maybe_space { $$ = CSSSelector::IndirectAdjacent; }
| '>' maybe_space { $$ = CSSSelector::Child; }
// FIXME: implement named combinator and replace the following /shadow/, /shadow-child/ and
- // /shadow-deep/ with named combinator's implementation.
+ // /deep/ with named combinator's implementation.
| '/' IDENT '/' maybe_space {
if ($2.equalIgnoringCase("shadow"))
$$ = CSSSelector::Shadow;
- else if ($2.equalIgnoringCase("shadow-deep"))
+ else if ($2.equalIgnoringCase("deep"))
$$ = CSSSelector::ShadowDeep;
else
YYERROR;
« no previous file with comments | « LayoutTests/fast/dom/shadow/style-with-cat-expected.txt ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698