[Webkit-unassigned] [Bug 17081] Safari should be more forgiving with CSS syntax errors.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 11 06:21:11 PDT 2008


webkit at blaut.biz changed:

           What    |Removed                     |Added
                 CC|                            |webkit at blaut.biz
           Severity|Normal                      |Trivial
          Component|CSS                         |Evangelism
         OS/Version|Windows XP                  |All
           Priority|P2                          |P3
           Platform|PC                          |All

------- Comment #5 from webkit at blaut.biz  2008-06-11 06:21 PDT -------
The described behavior is absolutely correct in other than IE browsers
according to CSS 2.1 spec: 

"The selector (see also the section on selectors) consists of everything up to
(but not including) the first left curly brace ({). A selector always goes
together with a declaration block. When a user agent can't parse the selector
(i.e., it is not valid CSS 2.1), it must ignore the declaration block as well.

CSS 2.1 gives a special meaning to the comma (,) in selectors. However, since
it is not known if the comma may acquire other meanings in future updates of
CSS, 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."

So the described issue is an evangelism bug. Additionally it's worth to say tha
IE8 renders attached test case like Safari, Firefox.

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