| Issue 48393: | font-style property, when set to 'oblique' with the @font-face declaration reverts to the default font. | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Restricted
Sign in to add a comment
|
Chrome Version : 5.0.375.99
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4: OK
Firefox 3.x: OK
IE 7: N/A (no @font-face support)
IE 8: N/A (not installed)
What steps will reproduce the problem?
1. Create a stylesheet with the following code (must use a valid font):
@font-face {
font-family: 'Quicksand_Bold_Oblique';
src: url(../fonts/Quicksand_Bold_Oblique.otf);
font-weight: bold;
font-style: oblique;
}
What happens instead?
Reverts to the default font if this property is used and set to 'oblique'. If changed to 'normal' or is omitted completely, it works as expected.
Jul 6, 2010
#1
tkent@chromium.org
Cc:
y...@chromium.org yusu...@chromium.org
Jul 6, 2010
Who's a good person to cc on html font bugs?
Cc:
a...@chromium.org dglaz...@chromium.org
Labels: -Area-Undefined Area-WebKit
Jul 6, 2010
Safari 5 behaves the same way as Chrome 5, and their behavior is compliant with the specification: http://dev.w3.org/csswg/css3-fonts/#font-matching-algorithm 3.b. ‘font-style’ is tried next. ‘italic’ will be satisfied if there is either a face in the UA's font database labeled with the CSS keyword ‘italic’ (preferred) or ‘oblique’. Otherwise the values must be matched exactly or font-style will fail. Please feel free to reopen this bug if I miss anything.
Summary:
font-style property, when set to 'oblique' with the @font-face declaration reverts to the default font.
Status: WontFix
Oct 12, 2012
This issue has been closed for some time. No one will pay attention to new comments. If you are seeing this bug or have new data, please click New Issue to start a new bug.
Labels:
Restrict-AddIssueComment-Commit
Mar 10, 2013
(No comment was entered for this change.)
Labels:
-Area-WebKit Cr-Content
Apr 5, 2013
(No comment was entered for this change.)
Labels:
-Cr-Content Cr-Blink
|
||||||||||
| ► Sign in to add a comment | |||||||||||