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

Side by Side Diff: Source/core/css/CSSGrammar.y

Issue 308733005: Fix assert on unknown rule type in the BisonCSSParser::endRuleHeader. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 | « no previous file | Source/core/css/parser/BisonCSSParserTest.cpp » ('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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 at_rule_header_end_maybe_space: 721 at_rule_header_end_maybe_space:
722 maybe_space { 722 maybe_space {
723 parser->endRuleHeader(); 723 parser->endRuleHeader();
724 } 724 }
725 ; 725 ;
726 726
727 media_rule_start: 727 media_rule_start:
728 before_media_rule MEDIA_SYM maybe_space; 728 before_media_rule MEDIA_SYM maybe_space;
729 729
730 media: 730 media:
731 media_rule_start maybe_media_list at_rule_header_end '{' at_rule_body_start maybe_space block_rule_body closing_brace { 731 media_rule_start maybe_media_list '{' at_rule_header_end at_rule_body_start maybe_space block_rule_body closing_brace {
732 $$ = parser->createMediaRule($2, $7); 732 $$ = parser->createMediaRule($2, $7);
733 } 733 }
734 ; 734 ;
735 735
736 medium: 736 medium:
737 IDENT 737 IDENT
738 ; 738 ;
739 739
740 supports: 740 supports:
741 before_supports_rule SUPPORTS_SYM maybe_space supports_condition at_supports _rule_header_end '{' at_rule_body_start maybe_space block_rule_body closing_brac e { 741 before_supports_rule SUPPORTS_SYM maybe_space supports_condition at_supports _rule_header_end '{' at_rule_body_start maybe_space block_rule_body closing_brac e {
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1823 ; 1823 ;
1824 1824
1825 rule_error_recovery: 1825 rule_error_recovery:
1826 /* empty */ 1826 /* empty */
1827 | rule_error_recovery error 1827 | rule_error_recovery error
1828 | rule_error_recovery invalid_square_brackets_block 1828 | rule_error_recovery invalid_square_brackets_block
1829 | rule_error_recovery invalid_parentheses_block 1829 | rule_error_recovery invalid_parentheses_block
1830 ; 1830 ;
1831 1831
1832 %% 1832 %%
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/parser/BisonCSSParserTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698