[Webkit-unassigned] [Bug 28888] New: When use @charset rule at embedded style declaration: Font style ignored
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 1 14:07:12 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28888
Summary: When use @charset rule at embedded style declaration:
Font style ignored
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
URL: http://www.haoting.com/htmusic/432ht.htm
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: xlyuan at chromium.org
CC: jshin at chromium.org
Created an attachment (id=38884)
--> (https://bugs.webkit.org/attachment.cgi?id=38884)
Test file
This issue is also tracked in Chromium as crbug.com/3618
Build: Safari 4.0.3(531.9.1)
OS: Windows, not test on Mac
Other Browsers:
Chrome: Fail
Firefox3: OK
IE7: OK
Steps:
1. Open the attached file in Safari
2. Observe
Result:
Chrome ignored font size because there is @charset "UTF-8" displayed inline at
the
beginning of the style declaration
Expected:
Chrome should render the page using right font size
Notes:
1. This issue is originally found at http://www.haoting.com/htmusic/432ht.htm
2. Mini test case:
<html>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
@charset "UTF-8";
body{
font-size: 12px;
}
li{ float: left;
width: 60px;
margin-right: 10px;
}
</style>
</HEAD>
<BODY>
.....
</BODY>
</html>
--
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