Bug 90690 - Spaces in font-family are handled incorrectly when adjacent to a quoted font name
Summary: Spaces in font-family are handled incorrectly when adjacent to a quoted font ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-06 09:21 PDT by Simon Vanneste
Modified: 2012-07-11 00:27 PDT (History)
4 users (show)

See Also:


Attachments
Before and after (66.36 KB, image/jpeg)
2012-07-06 09:21 PDT, Simon Vanneste
no flags Details
test case (882 bytes, text/html)
2012-07-11 00:27 PDT, Alexey Proskuryakov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Vanneste 2012-07-06 09:21:00 PDT
font: 15px normal 'Open Sans', Trebuchet, Arial, sans-serif;
In this line, the -normal- part gets parsed as one of the font names (See http://www.dafont.com/normal.font).
There isn't a comma between -normal- and -'Open Sans'-, so the parser is wrong.
But the editor is wrong as well because -normal- should be in front of the font-size.
If you have the normal font installed you can see this on (see attached screenshot):
http://html5-demos.appspot.com/static/filesystem/filer.js/demos/index.html
Stylesheet:
http://html5-demos.appspot.com/static/filesystem/filer.js/demos/css/app.css on line 33
Comment 1 Simon Vanneste 2012-07-06 09:21:54 PDT
Created attachment 151090 [details]
Before and after
Comment 2 Alexey Proskuryakov 2012-07-11 00:27:37 PDT
Created attachment 151619 [details]
test case