mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255
This commit is contained in:
parent
b2a5225831
commit
1a81b18b9f
12321 changed files with 544385 additions and 6 deletions
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 538 UT type="hidden" with no aria-labelledby and with id="test".</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="hidden" id="test">
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 542 An INPUT type=submit, with id="test", with no aria-labelledby and no aria-label and does not have a role=presentation.</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="submit" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 543 An INPUT type="reset", with id="test", with no aria-labelledby and no aria-label and does not have a role=presentation.</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="reset" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 544 An INPUT type=button, with id="test", value="foo", with no aria-labelledby and no aria-label and does not have a role=presentation.</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="button" id="test" value="foo"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 545 An INPUT type=img, with id="test", with no aria-labelledby, and no aria-label, does not have a role=presentation, and has an alt attribute.</title>
|
||||
</head>
|
||||
<body>
|
||||
<input src="baz.html" type="image" id="test" alt="foo"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 546 An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">States:</label>
|
||||
<input type="text" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 551 An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="text" id="test" title="crazy" value="baz"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 552 An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title>
|
||||
<style>
|
||||
|
||||
label:before
|
||||
{
|
||||
content:"fancy ";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fruit</label>
|
||||
<input type="text" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 553 An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title>
|
||||
<style>
|
||||
|
||||
label:after
|
||||
{
|
||||
content:" fruit";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fancy</label>
|
||||
<input type="text" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Title attribute, no aria-label, aria-labelledby</title>
|
||||
</head>
|
||||
<body>
|
||||
<input id="test" type="text" aria-labelledby="ID1 ID2 ID3">
|
||||
<p id="ID1">Here is some labelledby text for ID1</p>
|
||||
<p id="ID2">Also labelledby text ID2</p>
|
||||
<p id="ID3">Additional labelledby text ID3</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Input element, no wai-aria</title>
|
||||
</head>
|
||||
<body>
|
||||
<input id="test" type="text" aria-label="bar" aria-labelledby="ID1 test">
|
||||
<div id="ID1">foo</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Input element with type="text" referenced by a label, no wai aria</title>
|
||||
</head>
|
||||
<body>
|
||||
<input id="test" type="text"/>
|
||||
<label for="test">foo</label>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Input with type="password" label/for without wai-aria</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="password" id="test">
|
||||
<label for="test">foo</label></body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Input with type="checkbox" label/for without wai-aria</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="checkbox" id="test">
|
||||
<label for="test">foo</label></body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Input with type="radio" label/for without wai-aria</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="radio" id="test">
|
||||
<label for="test">foo</label></body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Input with type="file" label/for without wai-aria</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="file" id="test">
|
||||
<label for="test">foo</label></body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
label:before { content: "foo"; }
|
||||
label:after { content: "baz"; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form>
|
||||
<label for="test" title="bar"><input id="test" type="text" name="test" title="bar"></label>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
label:before { content: "foo "; }
|
||||
label:after { content: " baz"; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form>
|
||||
<label for="test" title="bar"><input id="test" type="password" name="test" title="bar"></label>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
label:before { content: "foo"; }
|
||||
label:after { content: "baz"; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form>
|
||||
<label for="test"><input id="test" type="checkbox" name="test" title=" bar "></label>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
label:before { content: "foo"; }
|
||||
label:after { content: "baz"; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form>
|
||||
<label for="test"><input id="test" type="radio" name="test" title=" bar "></label>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Text input with @title and :before and :after content rule</title>
|
||||
<style type="text/css">
|
||||
label:before { content: "foo "; }
|
||||
label:after { content: " baz"; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form>
|
||||
<label for="test"><input id="test" type="file" name="test" title="bar"></label>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 546a An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">States:</label>
|
||||
<input type="password" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 546b An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">States:</label>
|
||||
<input type="checkbox" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 546c An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">States:</label>
|
||||
<input type="radio" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Test 546d An INPUT type=text, password, checkbox, radio, file, or img, with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, and is referenced by a LABEL element.</title>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">File:</label>
|
||||
<input type="file" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="password" id="test" title="crazy" value="baz"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="checkbox" id="test" title="crazy"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="radio" id="test" title="crazy"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image , with id="test", with no aria-labelledby and no aria-label, does not have a role=presentation, is not referenced by a LABEL element, and has a title.</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="file" id="test" title="crazy"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title>
|
||||
<style>
|
||||
|
||||
label:before
|
||||
{
|
||||
content:"fancy ";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fruit</label>
|
||||
<input type="password" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title>
|
||||
<style>
|
||||
|
||||
label:before
|
||||
{
|
||||
content:"fancy ";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fruit</label>
|
||||
<input type="checkbox" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title>
|
||||
<style>
|
||||
|
||||
label:before
|
||||
{
|
||||
content:"fancy ";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fruit</label>
|
||||
<input type="radio" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :before content rule.</title>
|
||||
<style>
|
||||
|
||||
label:before
|
||||
{
|
||||
content:"fancy ";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fruit</label>
|
||||
<input type="file" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title>
|
||||
<style>
|
||||
|
||||
label:after
|
||||
{
|
||||
content:" fruit"
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fancy</label>
|
||||
<input type="password" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title>
|
||||
<style>
|
||||
|
||||
label:after
|
||||
{
|
||||
content:" fruit"
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fancy</label>
|
||||
<input type="checkbox" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title>
|
||||
<style>
|
||||
|
||||
label:after
|
||||
{
|
||||
content:" fruit"
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fancy</label>
|
||||
<input type="radio" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>An INPUT type=text, password, checkbox, radio, file, or image, with id="test", with no aria-labelledby and no aria-label, but is referenced by a LABEL element that has an associated CSS :after content rule. </title>
|
||||
<style>
|
||||
|
||||
label:after
|
||||
{
|
||||
content:"fancy";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<label for="test">fruit</label>
|
||||
<input type="file" id="test"/>
|
||||
</body>
|
||||
</html>
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 6.6 KiB |
Loading…
Add table
Add a link
Reference in a new issue