[Webkit-unassigned] [Bug 89342] New: Combination of :first-letter, @font-face, and <em> or <i> causes first letter to vanish on load
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 18 03:48:17 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89342
Summary: Combination of :first-letter, @font-face, and <em> or
<i> causes first letter to vanish on load
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
URL: http://steelbluepanic.com/dropcap-testcase.html
OS/Version: Mac OS X 10.7
Status: UNCONFIRMED
Severity: Minor
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: webmaster at animeworld.com
If you use a :first-letter pseudoclass to apply a font referenced via an @font-face directive, and the first letter is part of a word in an italicized style (em or i), the character in question vanishes when the page is first loaded or re-loaded.
Resizing the window will cause the missing drop cap to immediately reappear, while doing a reload after it has reappeared will cause it to disappear again. Checked release Safari, current Nightly, and release Chrome--all have the same behavior.
Notably, it doesn't matter whether the external font file even exists; the character vanishes whether it is being rendered in the externally loaded font, or a system-installed fallback. It also appears that the character really isn't being rendered, since if margins are set on the drop cap the empty gap visibly changes size when the page is resized and the character reappears.
Adding an explicit :first-letter declaration for the italicized version causes the character not to disappear. URL referenced is a minimum test case that I came up with.
--
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