mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
16 lines
1.2 KiB
HTML
16 lines
1.2 KiB
HTML
<!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=�></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>
|