[Webkit-unassigned] [Bug 34067] CSS rule containing a string unclosed at the end of stylesheet is ignored.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 1 23:22:47 PST 2010


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





--- Comment #29 from Robert Blaut <webkit at blaut.biz>  2010-02-01 23:22:47 PST ---
(In reply to comment #27)
> (From update of attachment 47684 [details])
> Please explain the changes to fast/css/font_property_normal.html in the
> ChangeLog.

There are quotes inserted there by mistake. Probably from copy and paste of
https://bugs.webkit.org/show_bug.cgi?id=5564#c1 These quotes are now
incorrectly ignored by WebKit. 

This stylesheet:

<STYLE type="text/css">
.one {font: 24pt italic;"}
.two {font: 24pt italic Arial;}
.three {font: 24pt italic 'Arial';}
.four {font: italic 24pt;}
.five {font: italic 24pt Arial;"}
.six {font: italic 24pt 'Arial';}
.seven {font: Arial 24pt italic;}
.eight {font: 'Arial' 24pt italic;}
.nine {font: Arial italic 24pt;}
.ten {font: 'Arial' italic 24pt;}
</STYLE>

according CSS 2.1 - http://www.w3.org/TR/CSS21/syndata.html#block - "Single (')
and double quotes (") must also occur in matching pairs, and characters between
them are parsed as a string." is equivalent to this stylesheet:

<STYLE type="text/css">
.one {font: 24pt italic;}
.six {font: italic 24pt 'Arial';}
.seven {font: Arial 24pt italic;}
.eight {font: 'Arial' 24pt italic;}
.nine {font: Arial italic 24pt;}
.ten {font: 'Arial' italic 24pt;}
</STYLE>

After applying Yuzo patch the above mentioned test case should be fixed.

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