[Webkit-unassigned] [Bug 14007] Unclosed CSS block followed by unclosed block incorrect handling of rest of stylesheet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 5 16:25:47 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14007





------- Comment #3 from esprehn at gmail.com  2007-06-05 16:25 PDT -------
Apparently the handling seems to differ based on if there's a type or non-type
selector after the unclosed block. Both behaviors are wrong as per the spec and
behavior of FireFox and IE.

If there's a type selector Webkit ignores the entire rest of the sheet and the
rules in the unclosed block.

If there's no type selector Webkit closes the block at the next rule, ignores
the that rule, but doesn't ignore the rest of the stylesheet or the rule that
was missing the close brace.

Behavior as per the spec and the what other browsers do is to make the whole
rest of the sheet into "invalid rules" and ignore them, but to respect the
rules in the unclosed block that happened before the next rule was encountered.


-- 
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