+2006-03-29 Alexey Proskuryakov <ap@nypop.com>
+
+ Reviewed by Darin.
+
+ - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7157
+ An asterisk in a CSS property name breaks CSS handling
+ (Many layout problems at letras.terra.com.br)
+
+ * fast/css/error-in-last-decl-expected.checksum: Added.
+ * fast/css/error-in-last-decl-expected.png: Added.
+ * fast/css/error-in-last-decl-expected.txt: Added.
+ * fast/css/error-in-last-decl.html: Added.
+
2006-03-29 Maciej Stachowiak <mjs@apple.com>
Reviewed by Anders.
--- /dev/null
+layer at (0,0) size 800x600
+ RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x576
+ RenderBlock {P} at (0,0) size 784x18
+ RenderText {TEXT} at (0,0) size 47x18
+ text run at (0,0) width 47: "test for "
+ RenderInline {A} at (0,0) size 60x18 [color=#0000EE]
+ RenderText {TEXT} at (47,0) size 60x18
+ text run at (47,0) width 60: "bug 7157"
+ RenderText {TEXT} at (107,0) size 659x18
+ text run at (107,0) width 659: ": An asterisk in a CSS property name breaks CSS handling (Many layout problems at letras.terra.com.br)"
+ RenderBlock {P} at (0,34) size 784x18 [color=#008000]
+ RenderText {TEXT} at (0,0) size 166x18
+ text run at (0,0) width 166: "Should be green on white."
+ RenderBlock {P} at (0,68) size 784x18 [color=#008000]
+ RenderText {TEXT} at (0,0) size 166x18
+ text run at (0,0) width 166: "Should be green on white."
+ RenderBlock {P} at (0,102) size 784x18 [color=#008000]
+ RenderText {TEXT} at (0,0) size 166x18
+ text run at (0,0) width 166: "Should be green on white."
--- /dev/null
+<html>
+<head>
+<style>
+ #id1 {
+ color:green;
+ *background:black
+ }
+
+ #id2 {color:green;}
+</style>
+<style>
+ #id3 {
+ *background:black
+ }
+
+ #id3 {color:green;}
+</style>
+</head>
+
+<body>
+<p>test for <a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=7157">bug 7157</a>:
+An asterisk in a CSS property name breaks CSS handling (Many layout problems at letras.terra.com.br)</p>
+
+<p id="id1">Should be green on white.</p>
+<p id="id2">Should be green on white.</p>
+<p id="id3">Should be green on white.</p>
+
+</body>
+</html>
+2006-03-29 Alexey Proskuryakov <ap@nypop.com>
+
+ Reviewed by Darin.
+
+ - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7157
+ An asterisk in a CSS property name breaks CSS handling
+ (Many layout problems at letras.terra.com.br)
+
+ Test: fast/css/error-in-last-decl.html
+
+ * css/CSSGrammar.y: Added a rule for the case when the last CSS rule
+ has a syntax error, and doesn't end with a semicolon.
+
2006-03-29 Darin Adler <darin@apple.com>
Reviewed by Anders.
* This file is part of the KDE libraries
* Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org)
* Copyright (C) 2004, 2005, 2006 Apple Computer, Inc.
+ * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
| error {
$$ = false;
}
+ | decl_list error {
+ $$ = $1;
+ }
;
decl_list: