page-windows-1252-http-windows-1251-css-utf8-bom.html (642B)
1 <!doctype html> 2 <title>CSS charset: page windows-1252, CSS-HTTP windows-1251, CSS UTF-8 BOM</title> 3 <link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding"> 4 <meta charset=windows-1252> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <link rel=stylesheet href="support/utf8-bom-http-windows-1251.css"> 8 <div id=log></div> 9 <div id=�></div> 10 <script> 11 var elm = document.getElementById('\ufffd'); 12 var t = async_test(); 13 onload = t.step_func(function(){ 14 assert_equals(getComputedStyle(elm, '').visibility, 'hidden'); 15 this.done(); 16 }); 17 </script>