Bug 117986
| Summary: | CSS "font-style" dosen't work correctly for "italic" and "oblique". | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Wankyu <wankyu19> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | ap, bfulgham, dino, enrica, mitz, wankyu19 |
| Priority: | P3 | ||
| Version: | 420+ | ||
| Hardware: | All | ||
| OS: | All | ||
Wankyu
According to Fonts Module in W3C, "italic" and "oblique" should be rendered with diffrent glyphs if available.
(http://www.w3.org/TR/css3-fonts/#font-style-prop)
But Webkit doesn't show any difference between them.
In case of "Times New Roman" on Windows, while it has different glyphs for italic, Webkit render the italicized glyphs for obliqued texts.
Test Case:
<p style="font-family:'Times New Roman';font-size:30px;font-style:italic;">The quick brown fox jumps over the lazy dog.</p>
<p style="font-family:'Times New Roman';font-size:30px;font-style:oblique;">The quick brown fox jumps over the lazy dog.</p>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
Do you have a test case illustrating this issue? We do appear to parse and handle the italic and oblique styles, and we are not aware of any relevant WPT test failures.