[Webkit-unassigned] [Bug 42342] New: Font download error for an @font-face rule invalidates other @font-face rules for the same font-family
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 15 00:51:17 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42342
Summary: Font download error for an @font-face rule invalidates
other @font-face rules for the same font-family
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yuzo at google.com
CC: mitz at webkit.org, hamaji at chromium.org,
hayato at chromium.org
Assume that we have the following file and CannotBeDownloaded.ttf cannot be downloaded
while Ahem.ttf can.
As per http://lists.w3.org/Archives/Public/www-style/2010Jul/0253.html , the first rule
must remain in effect while the second rule must be ignored.
WebKit r63408 ignores both rules.
Note that if
src: url(CannotBeDownloaded.ttf);
is replaced with
src: local(NonExistentLocalFont);
or
src: url(CannotBeDownloaded.ttf), local(Arial);
, the first rule remains in effect and WebKit renders the file properly.
<style>
@font-face {
font-family:myfont;
src: url(Ahem.ttf);
}
@font-face {
font-family:myfont;
src: url(CannotBeDownloaded.ttf);
unicode-range: U+30-39;
}
</style>
<p>
The first @font-face rule above should remain in effect
even if the font for the second @font-face rule cannot be downloaded.
Accordingly, the following text should be shown in Ahem.
</p>
<span style="font-family:myfont">
This must be shown in Ahem.
</span>
--
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