RESOLVED DUPLICATE of bug 18265 28888
When use @charset rule at embedded style declaration: Font style ignored
https://bugs.webkit.org/show_bug.cgi?id=28888
Summary When use @charset rule at embedded style declaration: Font style ignored
xlyuan
Reported 2009-09-01 14:07:11 PDT
Created attachment 38884 [details] 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>
Attachments
Test file (553 bytes, text/html)
2009-09-01 14:07 PDT, xlyuan
no flags
Screen shot (174.75 KB, image/jpeg)
2009-09-01 14:08 PDT, xlyuan
no flags
xlyuan
Comment 1 2009-09-01 14:08:33 PDT
Created attachment 38885 [details] Screen shot
Alexey Proskuryakov
Comment 2 2009-09-02 11:31:27 PDT
*** This bug has been marked as a duplicate of bug 18265 ***
Note You need to log in before you can comment on or make changes to this bug.