Import css/css-syntax WPT tests
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-syntax / charset / page-windows-1251-css-at-charset-bogus.html
1 <!doctype html>
2 <title>CSS charset: page windows-1251, @charset bogus</title>
3 <link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
4 <meta charset=windows-1251>
5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharnessreport.js"></script>
7 <link rel=stylesheet href="support/at-charset-bogus.css">
8 <div id=log></div>
9 <div id=&#x0418;></div>
10 <script>
11 var elm = document.getElementById('\u0418');
12 var t = async_test();
13 onload = t.step_func(function(){
14   assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
15   this.done();
16 });
17 </script>