[Webkit-unassigned] [Bug 34067] CSS rule containing an unclosed string is ignored.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 26 22:56:12 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34067





--- Comment #7 from Robert Blaut <webkit at blaut.biz>  2010-01-26 22:56:12 PST ---
Yuzo, you are talking about unclosed strings but your test case shows a case
with unexpected end of style sheets. 

Compare this clause:

"Unexpected end of style sheet.
User agents must close all open constructs (for example: blocks, parentheses,
brackets, rules, strings, and comments) at the end of the style sheet. For
example:

  @media screen {
    p:before { content: 'Hello
would be treated the same as:

  @media screen {
    p:before { content: 'Hello'; }
  }
in a conformant UA."



with this:


"Unexpected end of string.
User agents must close strings upon reaching the end of a line, but then drop
the construct (declaration or rule) in which the string was found. For example:


      p {
        color: green;
        font-family: 'Courier New Times
        color: red;
        color: green;
      }
...would be treated the same as:


      p { color: green; color: green; }
...because the second declaration (from 'font-family' to the semicolon after
'color: red') is invalid and is dropped."

Both cases are different. 

So I assume the bug report title is incorrect.

The test case uploaded by me is rendered correctly by Opera 10.50 alfa only.

WebKit and Firefox 3.6 fails in this case.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list