mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -0,0 +1,4 @@
|
|||
IndexOptions NameWidth=*
|
||||
AddDefaultCharset Off
|
||||
AddCharset bogus .bogus
|
||||
AddCharset windows-1250 .windows1250
|
|
@ -0,0 +1,20 @@
|
|||
page-utf16-css-bomless-utf16be.html
|
||||
page-utf16-css-bomless-utf16.html
|
||||
page-utf16-css-no-decl-ascii-only.html
|
||||
page-utf16-css-no-decl.html
|
||||
page-windows-1251-charset-attribute-bogus.html
|
||||
page-windows-1251-css-at-charset-1250-charset-attribute-windows-1253.html
|
||||
page-windows-1251-css-at-charset-bogus-charset-attribute-windows-1250.html
|
||||
page-windows-1251-css-at-charset-bogus.html
|
||||
page-windows-1251-css-at-charset-utf16-ascii-only.html
|
||||
page-windows-1251-css-at-charset-utf16be.html
|
||||
page-windows-1251-css-at-charset-utf16.html
|
||||
page-windows-1251-css-at-charset-windows-1250-in-utf16be.html
|
||||
page-windows-1251-css-at-charset-windows-1250-in-utf16.html
|
||||
page-windows-1251-css-http-bogus-at-charset-windows-1250.html
|
||||
page-windows-1251-css-http-bogus.html
|
||||
page-windows-1251-css-http-windows-1250-at-charset-windows-1253.html
|
||||
page-windows-1251-css-no-decl.html
|
||||
page-windows-1251-css-utf8-bom.html
|
||||
dir support
|
||||
xml-stylesheet-page-windows-1251-charset-attribute-windows-1250.xhtml
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, charset attribute bogus</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/no-decl.css" charset="bogus">
|
||||
<div id=log></div>
|
||||
<div id=И></div>
|
||||
<script>
|
||||
var elm = document.getElementById('\u0418');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, @charset windows-1250, charset attribute windows-1253</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/at-charset-windows-1250.css" charset=windows-1253>
|
||||
<div id=log></div>
|
||||
<div id=Č></div>
|
||||
<script>
|
||||
var elm = document.getElementById('\u010C');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS @charset bogus, charset attribute windows-1250</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/at-charset-bogus.css" charset=windows-1250>
|
||||
<div id=log></div>
|
||||
<div id=Č></div>
|
||||
<script>
|
||||
var elm = document.getElementById('\u010C');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, @charset bogus</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/at-charset-bogus.css">
|
||||
<div id=log></div>
|
||||
<div id=И></div>
|
||||
<script>
|
||||
var elm = document.getElementById('\u0418');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS @charset utf-16 (ASCII only)</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/at-charset-utf16-ascii-only.css">
|
||||
<div id=log></div>
|
||||
<div id=foo></div>
|
||||
<script>
|
||||
var elm = document.getElementById('foo');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS @charset utf-16</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/at-charset-utf16.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, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS @charset utf-16be</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/at-charset-utf16be.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, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS @charset windows-1250 in utf-16</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/at-charset-windows-1250-in-utf16.css">
|
||||
<div id=log></div>
|
||||
<div id=�></div>
|
||||
<div id=И></div>
|
||||
<div id=Č></div>
|
||||
<script>
|
||||
var elm_fffd = document.getElementById('\ufffd');
|
||||
var elm_0418 = document.getElementById('\u0418');
|
||||
var elm_010c = document.getElementById('\u010c');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm_fffd, '').visibility, 'visible', 'selector U+FFFD matched (utf-8)');
|
||||
assert_equals(getComputedStyle(elm_0418, '').visibility, 'hidden', 'selector U+0418 did not match (windows-1251)');
|
||||
assert_equals(getComputedStyle(elm_010c, '').visibility, 'visible', 'selector U+010C matched (windows-1250)');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS @charset windows-1250 in utf-16be</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/at-charset-windows-1250-in-utf16be.css">
|
||||
<div id=log></div>
|
||||
<div id=�></div>
|
||||
<div id=И></div>
|
||||
<div id=Č></div>
|
||||
<script>
|
||||
var elm_fffd = document.getElementById('\ufffd');
|
||||
var elm_0418 = document.getElementById('\u0418');
|
||||
var elm_010c = document.getElementById('\u010c');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm_fffd, '').visibility, 'visible', 'selector U+FFFD matched (utf-8)');
|
||||
assert_equals(getComputedStyle(elm_0418, '').visibility, 'hidden', 'selector U+0418 did not match (windows-1251)');
|
||||
assert_equals(getComputedStyle(elm_010c, '').visibility, 'visible', 'selector U+010C matched (windows-1250)');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS HTTP bogus, @charset windows-1250</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/http-bogus-at-charset-windows-1250.bogus.css">
|
||||
<div id=log></div>
|
||||
<div id=Č></div>
|
||||
<script>
|
||||
var elm = document.getElementById('\u010C');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS HTTP bogus</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/http-bogus.bogus.css">
|
||||
<div id=log></div>
|
||||
<div id=И></div>
|
||||
<script>
|
||||
var elm = document.getElementById('\u0418');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS HTTP windows-1250, @charset windows-1253</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/http-windows-1250-at-charset-windows-1253.windows1250.css">
|
||||
<div id=log></div>
|
||||
<div id=Č></div>
|
||||
<script>
|
||||
var elm = document.getElementById('\u010C');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS no decl</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<meta charset=windows-1251>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel=stylesheet href="support/no-decl.css">
|
||||
<div id=log></div>
|
||||
<div id=И></div>
|
||||
<script>
|
||||
var elm = document.getElementById('\u0418');
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
|
@ -0,0 +1,17 @@
|
|||
<!doctype html>
|
||||
<title>CSS charset: page windows-1251, CSS UTF-8 BOM</title>
|
||||
<link rel=help href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding">
|
||||
<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=�></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>
|
|
@ -0,0 +1,15 @@
|
|||
support at-charset-bogus.css
|
||||
support at-charset-utf16-ascii-only.css
|
||||
support at-charset-utf16be.css
|
||||
support at-charset-utf16.css
|
||||
support at-charset-windows-1250.css
|
||||
support at-charset-windows-1250-in-utf16be.css
|
||||
support at-charset-windows-1250-in-utf16.css
|
||||
support bomless-utf16be.css
|
||||
support bomless-utf16.css
|
||||
support http-bogus-at-charset-windows-1250.bogus.css
|
||||
support http-bogus.bogus.css
|
||||
support http-windows-1250-at-charset-windows-1253.windows1250.css
|
||||
support no-decl-ascii-only.css
|
||||
support no-decl.css
|
||||
support utf8-bom.css
|
|
@ -0,0 +1,2 @@
|
|||
@charset "bogus";
|
||||
#È { visibility:hidden }
|
|
@ -0,0 +1,2 @@
|
|||
@charset "utf-16";
|
||||
#foo { visibility:hidden }
|
|
@ -0,0 +1,2 @@
|
|||
@charset "utf-16";
|
||||
#È { visibility:hidden }
|
|
@ -0,0 +1,2 @@
|
|||
@charset "utf-16be";
|
||||
#È { visibility:hidden }
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
@charset "windows-1250";
|
||||
#È { visibility:hidden }
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
@charset "windows-1250";
|
||||
#È { visibility:hidden }
|
|
@ -0,0 +1 @@
|
|||
Content-Type: text/css; charset=bogus
|
|
@ -0,0 +1 @@
|
|||
#È { visibility:hidden }
|
|
@ -0,0 +1 @@
|
|||
Content-Type: text/css; charset=bogus
|
|
@ -0,0 +1,2 @@
|
|||
@charset "windows-1253";
|
||||
#È { visibility:hidden }
|
|
@ -0,0 +1 @@
|
|||
Content-Type: text/css; charset=windows-1250
|
|
@ -0,0 +1 @@
|
|||
#foo { visibility:hidden }
|
|
@ -0,0 +1 @@
|
|||
#È { visibility:hidden }
|
|
@ -0,0 +1 @@
|
|||
#È { visibility:hidden }
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<?xml-stylesheet href="support/no-decl.css" charset="windows-1250"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<title>CSS charset: page windows-1251, charset attribute bogus</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-syntax-3/#determine-the-fallback-encoding"/>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
</head><body>
|
||||
<div id="log"></div>
|
||||
<div id="foo"></div>
|
||||
<script>
|
||||
var elm = document.getElementById('foo');
|
||||
elm.id = '\u010C';
|
||||
var t = async_test();
|
||||
onload = t.step_func(function(){
|
||||
assert_equals(getComputedStyle(elm, '').visibility, 'hidden');
|
||||
this.done();
|
||||
});
|
||||
</script>
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue