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. |