Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

ÿþ<!doctype html>
<title>CSS charset: page utf-16, CSS no decl</title>
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
<script src="/resources/testharness.js" charset=utf-8></script>
<script src="/resources/testharnessreport.js" charset=utf-8></script>
<link rel=stylesheet href="support/no-decl.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, 'visible');
this.done();
});
</script>