[Webkit-unassigned] [Bug 79260] REGRESSION (r107516): fast/css/font-face-default-font.html is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 22 19:34:34 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=79260


Kenichi Ishibashi <bashi at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-unassigned at lists.web |bashi at chromium.org
                   |kit.org                     |




--- Comment #1 from Kenichi Ishibashi <bashi at chromium.org>  2012-02-22 19:34:34 PST ---
According to the latest draft spec:
- the default value of font-style descriptor is normal (http://dev.w3.org/csswg/css3-fonts/#font-prop-desc)
- a font which has desirable style (italic in this case) is prioritized others if the font-family is matched (http://dev.w3.org/csswg/css3-fonts/#font-style-matching)

fast/css/font-face-default-font.html defines @font-face without font-style:

@font-face {
    font-family: Times;
    src: local("Arial");
}

And Mac (and maybe other platforms) has regular and italic Times font. These facts caused the test failure.

I think the current behavior follows the draft spec. Just adding following @font-face will solve the failure.

@font-face {
    font-family: Times;
    font-style: italic;
    src: local("Arial");
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list