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

Side by Side Diff: sky/engine/core/css/parser/CSSGrammar.y

Issue 871383002: Merge HTMLDocument into Document (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/css/parser/CSSParserMode.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 $$->append(parser->sinkFloatingSelector($1)); 621 $$->append(parser->sinkFloatingSelector($1));
622 } 622 }
623 | simple_selector_list maybe_space ',' maybe_space simple_selector %prec UNI MPORTANT_TOK { 623 | simple_selector_list maybe_space ',' maybe_space simple_selector %prec UNI MPORTANT_TOK {
624 $$ = $1; 624 $$ = $1;
625 $$->append(parser->sinkFloatingSelector($5)); 625 $$->append(parser->sinkFloatingSelector($5));
626 } 626 }
627 ; 627 ;
628 628
629 element_name: 629 element_name:
630 IDENT { 630 IDENT {
631 if (parser->m_context.isHTMLDocument())
632 parser->tokenToLowerCase($1);
633 $$ = $1; 631 $$ = $1;
634 } 632 }
635 | '*' { 633 | '*' {
636 static const LChar star = '*'; 634 static const LChar star = '*';
637 $$.init(&star, 1); 635 $$.init(&star, 1);
638 } 636 }
639 ; 637 ;
640 638
641 specifier_list: 639 specifier_list:
642 specifier 640 specifier
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 ; 1154 ;
1157 1155
1158 rule_error_recovery: 1156 rule_error_recovery:
1159 /* empty */ 1157 /* empty */
1160 | rule_error_recovery error 1158 | rule_error_recovery error
1161 | rule_error_recovery invalid_square_brackets_block 1159 | rule_error_recovery invalid_square_brackets_block
1162 | rule_error_recovery invalid_parentheses_block 1160 | rule_error_recovery invalid_parentheses_block
1163 ; 1161 ;
1164 1162
1165 %% 1163 %%
OLDNEW
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/css/parser/CSSParserMode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698