WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
12435
CSS1: Quoted generic family names (e.g. font-family: 'sans-serif';) not respected
https://bugs.webkit.org/show_bug.cgi?id=12435
Summary
CSS1: Quoted generic family names (e.g. font-family: 'sans-serif';) not respe...
Andreas Neumann
Reported
2007-01-27 03:44:45 PST
At the given example all text elements should be rendered with a sans-serif font, based on the classes "cptnrm" and "nrm" defined in
http://www.carto.net/papers/svg/samples/styles_austria_2.css
For correct rendering see f.e. Opera 9.1 or Batik. Thank you for having a look at it!
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2007-01-30 22:53:37 PST
This isn't limited to SVG. This is a CSS parser "issue"
http://paste.lisp.org/display/36137
Eric Seidel (no email)
Comment 2
2007-01-31 05:17:21 PST
moving to CSS, this is not an SVG bug.
Nicholas Shanks
Comment 3
2007-02-05 13:37:14 PST
http://www.w3.org/TR/REC-CSS2/fonts.html#propdef-font-family
"Generic font family names are keywords, and therefore must not be quoted." Firefox follows the W3C, Opera apparently accepts them. We could support quoted generic families in quirks mode, but that wouldn't affect the SVG example case anyway. Recommend closing as INVALID.
Andreas Neumann
Comment 4
2007-02-06 11:25:47 PST
ok, I agree that we shouldn't introduce quirks mode in SVG. I changed my example and removed the quotation marks in the CSS definitions. Thanks for pointing out the invalid use of the quotation marks. We can close this bug. Andreas
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug