Bug 12482 - Add small-caps to list of traits to ignore as it can be synthesized
Summary: Add small-caps to list of traits to ignore as it can be synthesized
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2007-01-30 10:51 PST by Nicholas Shanks
Modified: 2010-06-11 15:08 PDT (History)
1 user (show)

See Also:

patch (1.74 KB, patch)
2007-01-30 10:52 PST, Nicholas Shanks
darin: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Shanks 2007-01-30 10:51:24 PST
The fix for bug #6146 forgot to handle small-caps, which is also synthesized. Although currently the small-caps trait is not requested (since it is always synthesized), I plan on fixing that. This code ought to be ready to handle requests that include the small-caps trait.
Comment 1 Nicholas Shanks 2007-01-30 10:52:18 PST
Created attachment 12800 [details]
Comment 2 Darin Adler 2007-01-30 10:53:29 PST
Comment on attachment 12800 [details]

Need a test case and a ChangeLog entry.
Comment 3 Nicholas Shanks 2007-01-30 18:52:33 PST
What sort of test case do you suggest? Since font-variant: small-caps doesn't request a font with the NSFontSmallCapsMask trait presently, I don't think it can be tested.