| 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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 $$ = parser->createFloatingSelector(); | 797 $$ = parser->createFloatingSelector(); |
| 798 $$->setMatch(CSSSelector::Class); | 798 $$->setMatch(CSSSelector::Class); |
| 799 if (isQuirksModeBehavior(parser->m_context.mode())) | 799 if (isQuirksModeBehavior(parser->m_context.mode())) |
| 800 parser->tokenToLowerCase($2); | 800 parser->tokenToLowerCase($2); |
| 801 $$->setValue($2); | 801 $$->setValue($2); |
| 802 } | 802 } |
| 803 ; | 803 ; |
| 804 | 804 |
| 805 attr_name: | 805 attr_name: |
| 806 IDENT maybe_space { | 806 IDENT maybe_space { |
| 807 if (parser->m_context.isHTMLDocument()) | |
| 808 parser->tokenToLowerCase($1); | |
| 809 $$ = $1; | 807 $$ = $1; |
| 810 } | 808 } |
| 811 ; | 809 ; |
| 812 | 810 |
| 813 attr_match_type: | 811 attr_match_type: |
| 814 IDENT maybe_space { | 812 IDENT maybe_space { |
| 815 CSSSelector::AttributeMatchType attrMatchType = CSSSelector::CaseSensiti
ve; | 813 CSSSelector::AttributeMatchType attrMatchType = CSSSelector::CaseSensiti
ve; |
| 816 if (!parser->parseAttributeMatchType(attrMatchType, $1)) | 814 if (!parser->parseAttributeMatchType(attrMatchType, $1)) |
| 817 YYERROR; | 815 YYERROR; |
| 818 $$ = attrMatchType; | 816 $$ = attrMatchType; |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1313 ; | 1311 ; |
| 1314 | 1312 |
| 1315 rule_error_recovery: | 1313 rule_error_recovery: |
| 1316 /* empty */ | 1314 /* empty */ |
| 1317 | rule_error_recovery error | 1315 | rule_error_recovery error |
| 1318 | rule_error_recovery invalid_square_brackets_block | 1316 | rule_error_recovery invalid_square_brackets_block |
| 1319 | rule_error_recovery invalid_parentheses_block | 1317 | rule_error_recovery invalid_parentheses_block |
| 1320 ; | 1318 ; |
| 1321 | 1319 |
| 1322 %% | 1320 %% |
| OLD | NEW |