Changeset 53004 in webkit
- Timestamp:
- Jan 8, 2010 1:31:31 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53003 r53004 1 2010-01-08 Yuzo Fujishima <yuzo@google.com> 2 3 Reviewed by Darin Adler. 4 5 Skip invalid blocks in CSS property declarations. 6 https://bugs.webkit.org/show_bug.cgi?id=31231 7 https://bugs.webkit.org/show_bug.cgi?id=26619 8 9 This patch makes the CSS parser skip property declarations containing invalid blocks. 10 11 * fast/css/parsing-error-recovery-expected.txt: Added. 12 * fast/css/parsing-error-recovery.html: Added. 13 1 14 2010-01-08 Chris Marrin <cmarrin@apple.com> 2 15 -
trunk/WebCore/ChangeLog
r53000 r53004 1 2010-01-08 Yuzo Fujishima <yuzo@google.com> 2 3 Reviewed by Darin Adler. 4 5 Skip invalid blocks in CSS property declarations. 6 https://bugs.webkit.org/show_bug.cgi?id=31231 7 https://bugs.webkit.org/show_bug.cgi?id=26619 8 9 This patch makes the CSS parser skip property declarations containing invalid blocks. 10 11 Test: fast/css/parsing-error-recovery.html 12 13 * css/CSSGrammar.y: 14 1 15 2010-01-08 Chris Fleizach <cfleizach@apple.com> 2 16 -
trunk/WebCore/css/CSSGrammar.y
r52943 r53004 98 98 %} 99 99 100 %expect 48100 %expect 53 101 101 102 102 %nonassoc LOWEST_PREC … … 1209 1209 $$ = $1; 1210 1210 } 1211 | declaration invalid_block_list maybe_space { 1212 $$ = false; 1213 } 1211 1214 | declaration invalid_block_list ';' maybe_space { 1212 1215 $$ = false; … … 1325 1328 $$->addValue(p->sinkFloatingValue($3)); 1326 1329 } 1330 } 1331 | expr invalid_block_list { 1332 $$ = 0; 1327 1333 } 1328 1334 | expr error {
Note: See TracChangeset
for help on using the changeset viewer.