charset-attr-001

@charset test-attribute

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html><head>
 3     <link rel="reference" href="at-charset-ref.xht">
 4     <title>CSS Test: @charset test-attribute</title>
 5     <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
 6     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
 7     <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset">
 8     <link rel="help" href="http://www.w3.org/TR/html40/struct/links.html#adef-charset">
 9     <meta name="flags" content="">
10     <style type="text/css">
11       body { color: red; }
12     </style>
13     <link type="text/css" charset="UTF-16BE" rel="stylesheet" href="support/charset-attr-001.css">
14   </head>
15   <body>
16     This should be green
17   
18 
19   
20 </body></html>