xml-stylesheet-page-windows-1251-charset-attribute-windows-1250.xhtml (729B)
1 <?xml version="1.0" encoding="windows-1251"?> 2 <?xml-stylesheet href="support/no-decl.css" charset="windows-1250"?> 3 <html xmlns="http://www.w3.org/1999/xhtml"><head> 4 <title>CSS charset: page windows-1251, charset attribute bogus</title> 5 <link rel="help" href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding"/> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 </head><body> 9 <div id="log"></div> 10 <div id="foo"></div> 11 <script> 12 var elm = document.getElementById('foo'); 13 elm.id = '\u010C'; 14 var t = async_test(); 15 onload = t.step_func(function(){ 16 assert_equals(getComputedStyle(elm, '').visibility, 'hidden'); 17 this.done(); 18 }); 19 </script> 20 </body></html>