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

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

Issue 212123002: Unship '::-webkit-distributed(...)' functional pseudo element. (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
Index: Source/core/css/CSSGrammar.y
diff --git a/Source/core/css/CSSGrammar.y b/Source/core/css/CSSGrammar.y
index c5901b87d0e14ba83fab2ad64b725f9f0c6ab4b5..a99b9aaba594625e19cd313f5df680c1498d7f8d 100644
--- a/Source/core/css/CSSGrammar.y
+++ b/Source/core/css/CSSGrammar.y
@@ -331,7 +331,6 @@ inline static CSSParserValue makeIdentValue(CSSParserString string)
%type <selector> specifier_list
%type <selector> simple_selector
%type <selector> selector
-%type <selector> relative_selector
%type <selectorList> selector_list
%type <selectorList> simple_selector_list
%type <selector> class
@@ -1116,17 +1115,6 @@ selector_list:
}
;
-relative_selector:
- combinator selector {
- $$ = $2;
- CSSParserSelector* end = $$;
- while (end->tagHistory())
- end = end->tagHistory();
- end->setRelation($1);
- }
- | selector
- ;
-
selector:
simple_selector
| selector WHITESPACE
@@ -1370,16 +1358,6 @@ pseudo:
| ':' ':' CUEFUNCTION selector_recovery closing_parenthesis {
YYERROR;
}
- | ':' ':' DISTRIBUTEDFUNCTION maybe_space relative_selector closing_parenthesis {
- $$ = parser->createFloatingSelector();
- $$->setMatch(CSSSelector::PseudoElement);
- $$->setFunctionArgumentSelector($5);
- parser->tokenToLowerCase($3);
- $$->setValue($3);
- }
- | ':' ':' DISTRIBUTEDFUNCTION selector_recovery closing_parenthesis {
- YYERROR;
- }
// use by :-webkit-any.
// FIXME: should we support generic selectors here or just simple_selectors?
// Use simple_selector_list for now to match -moz-any.

Powered by Google App Engine
This is Rietveld 408576698