[Webkit-unassigned] [Bug 14345] New: CSS Parser will accepts parts of a ruleset that is correct
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 23 15:29:14 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14345
Summary: CSS Parser will accepts parts of a ruleset that is
correct
Product: WebKit
Version: 522+ (nightly)
Platform: PC
URL: http://www.hixie.ch/tests/evil/css/css21/tests/t040103-
ident-08-c.htm
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: browserbugs at gtalbot.org
When a comma is involved in a ruleset,
"the whole statement should be ignored if there is an error anywhere in the
selector, even though the rest of the selector may look reasonable in CSS 2.1."
CSS 2.1, section 4.1.7 Rule sets, declaration blocks, and selectors
http://www.w3.org/TR/CSS21/syndata.html#q10
In other words:
<style type="text/css">
.two { color: green; background: white; }
#6ident, .two { color: red; }
</style>
<p class="two">This should be green.</p>
because an ID selector can not start with a digit.
http://www.w3.org/TR/CSS21/syndata.html#q6
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list