OLD | NEW |
1 %{ | 1 %{ |
2 | 2 |
3 /* | 3 /* |
4 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) | 4 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. |
6 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
7 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 7 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
8 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 8 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 %token CHARSET_SYM | 180 %token CHARSET_SYM |
181 %token INTERNAL_DECLS_SYM | 181 %token INTERNAL_DECLS_SYM |
182 %token INTERNAL_MEDIALIST_SYM | 182 %token INTERNAL_MEDIALIST_SYM |
183 %token INTERNAL_RULE_SYM | 183 %token INTERNAL_RULE_SYM |
184 %token INTERNAL_SELECTOR_SYM | 184 %token INTERNAL_SELECTOR_SYM |
185 %token INTERNAL_VALUE_SYM | 185 %token INTERNAL_VALUE_SYM |
186 %token INTERNAL_KEYFRAME_RULE_SYM | 186 %token INTERNAL_KEYFRAME_RULE_SYM |
187 %token INTERNAL_KEYFRAME_KEY_LIST_SYM | 187 %token INTERNAL_KEYFRAME_KEY_LIST_SYM |
188 %token INTERNAL_SUPPORTS_CONDITION_SYM | 188 %token INTERNAL_SUPPORTS_CONDITION_SYM |
189 %token KEYFRAMES_SYM | 189 %token KEYFRAMES_SYM |
190 %token WEBKIT_KEYFRAMES_SYM | |
191 | 190 |
192 %token ATKEYWORD | 191 %token ATKEYWORD |
193 | 192 |
194 %token IMPORTANT_SYM | 193 %token IMPORTANT_SYM |
195 %token MEDIA_ONLY | 194 %token MEDIA_ONLY |
196 %token MEDIA_NOT | 195 %token MEDIA_NOT |
197 %token MEDIA_AND | 196 %token MEDIA_AND |
198 %token MEDIA_OR | 197 %token MEDIA_OR |
199 | 198 |
200 %token SUPPORTS_NOT | 199 %token SUPPORTS_NOT |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 before_keyframes_rule: | 733 before_keyframes_rule: |
735 /* empty */ { | 734 /* empty */ { |
736 parser->startRuleHeader(CSSRuleSourceData::KEYFRAMES_RULE); | 735 parser->startRuleHeader(CSSRuleSourceData::KEYFRAMES_RULE); |
737 } | 736 } |
738 ; | 737 ; |
739 | 738 |
740 keyframes_rule_start: | 739 keyframes_rule_start: |
741 before_keyframes_rule KEYFRAMES_SYM maybe_space { | 740 before_keyframes_rule KEYFRAMES_SYM maybe_space { |
742 $$ = false; | 741 $$ = false; |
743 } | 742 } |
744 | before_keyframes_rule WEBKIT_KEYFRAMES_SYM maybe_space { | |
745 $$ = true; | |
746 } | |
747 ; | 743 ; |
748 | 744 |
749 keyframes: | 745 keyframes: |
750 keyframes_rule_start keyframe_name at_rule_header_end_maybe_space '{' at_rul
e_body_start maybe_space location_label keyframes_rule closing_brace { | 746 keyframes_rule_start keyframe_name at_rule_header_end_maybe_space '{' at_rul
e_body_start maybe_space location_label keyframes_rule closing_brace { |
751 $$ = parser->createKeyframesRule($2, parser->sinkFloatingKeyframeVector(
$8), $1 /* isPrefixed */); | 747 $$ = parser->createKeyframesRule($2, parser->sinkFloatingKeyframeVector(
$8), $1 /* isPrefixed */); |
752 } | 748 } |
753 ; | 749 ; |
754 | 750 |
755 keyframe_name: | 751 keyframe_name: |
756 IDENT | 752 IDENT |
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1491 ; | 1487 ; |
1492 | 1488 |
1493 rule_error_recovery: | 1489 rule_error_recovery: |
1494 /* empty */ | 1490 /* empty */ |
1495 | rule_error_recovery error | 1491 | rule_error_recovery error |
1496 | rule_error_recovery invalid_square_brackets_block | 1492 | rule_error_recovery invalid_square_brackets_block |
1497 | rule_error_recovery invalid_parentheses_block | 1493 | rule_error_recovery invalid_parentheses_block |
1498 ; | 1494 ; |
1499 | 1495 |
1500 %% | 1496 %% |
OLD | NEW |