OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. |
4 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
6 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 6 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 %token IMPORT_SYM | 118 %token IMPORT_SYM |
119 %token PAGE_SYM | 119 %token PAGE_SYM |
120 %token MEDIA_SYM | 120 %token MEDIA_SYM |
121 %token SUPPORTS_SYM | 121 %token SUPPORTS_SYM |
122 %token FONT_FACE_SYM | 122 %token FONT_FACE_SYM |
123 %token HOST_SYM | 123 %token HOST_SYM |
124 %token CHARSET_SYM | 124 %token CHARSET_SYM |
125 %token NAMESPACE_SYM | 125 %token NAMESPACE_SYM |
126 %token VARFUNCTION | 126 %token VARFUNCTION |
| 127 %token VIEWPORT_RULE_SYM |
127 %token INTERNAL_DECLS_SYM | 128 %token INTERNAL_DECLS_SYM |
128 %token INTERNAL_RULE_SYM | 129 %token INTERNAL_RULE_SYM |
129 %token INTERNAL_SELECTOR_SYM | 130 %token INTERNAL_SELECTOR_SYM |
130 %token INTERNAL_VALUE_SYM | 131 %token INTERNAL_VALUE_SYM |
131 %token WEBKIT_KEYFRAME_RULE_SYM | 132 %token WEBKIT_KEYFRAME_RULE_SYM |
132 %token WEBKIT_KEYFRAMES_SYM | 133 %token WEBKIT_KEYFRAMES_SYM |
133 %token WEBKIT_MEDIAQUERY_SYM | 134 %token WEBKIT_MEDIAQUERY_SYM |
134 %token WEBKIT_REGION_RULE_SYM | 135 %token WEBKIT_REGION_RULE_SYM |
135 %token WEBKIT_VIEWPORT_RULE_SYM | |
136 %token WEBKIT_SUPPORTS_CONDITION_SYM | 136 %token WEBKIT_SUPPORTS_CONDITION_SYM |
137 %token WEBKIT_FILTER_RULE_SYM | 137 %token WEBKIT_FILTER_RULE_SYM |
138 %token <marginBox> TOPLEFTCORNER_SYM | 138 %token <marginBox> TOPLEFTCORNER_SYM |
139 %token <marginBox> TOPLEFT_SYM | 139 %token <marginBox> TOPLEFT_SYM |
140 %token <marginBox> TOPCENTER_SYM | 140 %token <marginBox> TOPCENTER_SYM |
141 %token <marginBox> TOPRIGHT_SYM | 141 %token <marginBox> TOPRIGHT_SYM |
142 %token <marginBox> TOPRIGHTCORNER_SYM | 142 %token <marginBox> TOPRIGHTCORNER_SYM |
143 %token <marginBox> BOTTOMLEFTCORNER_SYM | 143 %token <marginBox> BOTTOMLEFTCORNER_SYM |
144 %token <marginBox> BOTTOMLEFT_SYM | 144 %token <marginBox> BOTTOMLEFT_SYM |
145 %token <marginBox> BOTTOMCENTER_SYM | 145 %token <marginBox> BOTTOMCENTER_SYM |
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1016 ; | 1016 ; |
1017 | 1017 |
1018 before_viewport_rule: | 1018 before_viewport_rule: |
1019 /* empty */ { | 1019 /* empty */ { |
1020 parser->markViewportRuleBodyStart(); | 1020 parser->markViewportRuleBodyStart(); |
1021 parser->startRuleHeader(CSSRuleSourceData::VIEWPORT_RULE); | 1021 parser->startRuleHeader(CSSRuleSourceData::VIEWPORT_RULE); |
1022 } | 1022 } |
1023 ; | 1023 ; |
1024 | 1024 |
1025 viewport: | 1025 viewport: |
1026 before_viewport_rule WEBKIT_VIEWPORT_RULE_SYM at_rule_header_end_maybe_space | 1026 before_viewport_rule VIEWPORT_RULE_SYM at_rule_header_end_maybe_space |
1027 '{' at_rule_body_start maybe_space_before_declaration declaration_list closi
ng_brace { | 1027 '{' at_rule_body_start maybe_space_before_declaration declaration_list closi
ng_brace { |
1028 $$ = parser->createViewportRule(); | 1028 $$ = parser->createViewportRule(); |
1029 parser->markViewportRuleBodyEnd(); | 1029 parser->markViewportRuleBodyEnd(); |
1030 } | 1030 } |
1031 | before_viewport_rule WEBKIT_VIEWPORT_RULE_SYM at_rule_recovery { | 1031 | before_viewport_rule VIEWPORT_RULE_SYM at_rule_recovery { |
1032 $$ = 0; | 1032 $$ = 0; |
1033 parser->endRuleBody(true); | 1033 parser->endRuleBody(true); |
1034 parser->markViewportRuleBodyEnd(); | 1034 parser->markViewportRuleBodyEnd(); |
1035 } | 1035 } |
1036 ; | 1036 ; |
1037 | 1037 |
1038 region_selector: | 1038 region_selector: |
1039 selector_list { | 1039 selector_list { |
1040 if ($1) { | 1040 if ($1) { |
1041 parser->setReusableRegionSelectorVector($1); | 1041 parser->setReusableRegionSelectorVector($1); |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1956 | 1956 |
1957 rule_error_recovery: | 1957 rule_error_recovery: |
1958 /* empty */ | 1958 /* empty */ |
1959 | rule_error_recovery error | 1959 | rule_error_recovery error |
1960 | rule_error_recovery invalid_square_brackets_block | 1960 | rule_error_recovery invalid_square_brackets_block |
1961 | rule_error_recovery invalid_parentheses_block | 1961 | rule_error_recovery invalid_parentheses_block |
1962 ; | 1962 ; |
1963 | 1963 |
1964 %% | 1964 %% |
1965 | 1965 |
OLD | NEW |