Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>CSS charset: page windows-1251, CSS UTF-8 BOM</title>
<meta charset=windows-1251>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel=stylesheet href="support/utf8-bom.css">
<div id=log></div>
<div id=&#xfffd;></div>
<script>
var elm = document.getElementById('\ufffd');
var t = async_test();
onload = t.step_func(function(){
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
this.done();
});
</script>