[Webkit-unassigned] [Bug 42154] New: Web Font is downloaded even when all the characters in a document are outside its unicode-range
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 13 03:15:56 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42154
Summary: Web Font is downloaded even when all the characters in
a document are outside its unicode-range
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
http://dev.w3.org/csswg/css3-fonts/#unicode-range-desc says:
"User agents that download fonts for characters outside the defined unicode-range are considered non-conformant."
WebKit r63184 always downloads Web Fonts, even when all the characters are outside the unicode-range.
For example, in opening the following, WebKit downloads myfont.ttf, which it must not.
<style>
@font-face {
font-family:myfont;
src: url(myfont.ttf);
unicode-range: U+FFFF;
}
</style>
<span style="font-family:myfont">
No characters here are in the unicode-range.
</span>
The behavior can be confirmed by either
- Setting a breakpoint at WebCore/css/CSSFontFaceSource.cpp:181,
- Checking the server log, or
- Monitoring the network traffic.
--
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