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

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

Issue 206033004: Unguard Shadow DOM features. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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 | « no previous file | 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 07267b223a96840023f426c59e2404a9241411f4..32e44cd47b79df9261199fcdd8b678436deccdbd 100644
--- a/Source/core/css/CSSGrammar.y
+++ b/Source/core/css/CSSGrammar.y
@@ -1049,8 +1049,6 @@ combinator:
// FIXME: implement named combinator and replace the following /shadow/, /shadow-child/ and
// /shadow-deep/ with named combinator's implementation.
| '/' IDENT '/' maybe_space {
- if (!RuntimeEnabledFeatures::shadowDOMEnabled())
- YYERROR;
if ($2.equalIgnoringCase("shadow"))
$$ = CSSSelector::Shadow;
else if ($2.equalIgnoringCase("shadow-deep"))
@@ -1905,4 +1903,3 @@ rule_error_recovery:
;
%%
-
« no previous file with comments | « no previous file | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698