Bug 96271 - Font value should be parsed as a individual property
Summary: Font value should be parsed as a individual property
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Thiago Marcos P. Santos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-10 07:00 PDT by Thiago Marcos P. Santos
Modified: 2012-09-10 10:20 PDT (History)
10 users (show)

See Also:


Attachments
Patch (3.28 KB, patch)
2012-09-10 07:10 PDT, Thiago Marcos P. Santos
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Marcos P. Santos 2012-09-10 07:00:08 PDT
We are validating the Canvas font property as a CSS style body. This was making the bellow to be parsed as valid:

ctx.font = '1em serif; background: green; margin: 10px';
Comment 1 Thiago Marcos P. Santos 2012-09-10 07:10:28 PDT
Created attachment 163121 [details]
Patch
Comment 2 Eric Seidel (no email) 2012-09-10 09:21:18 PDT
Comment on attachment 163121 [details]
Patch

Looks OK.
Comment 3 WebKit Review Bot 2012-09-10 10:20:32 PDT
Comment on attachment 163121 [details]
Patch

Clearing flags on attachment: 163121

Committed r128076: <http://trac.webkit.org/changeset/128076>
Comment 4 WebKit Review Bot 2012-09-10 10:20:36 PDT
All reviewed patches have been landed.  Closing bug.