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>
|
||||
<title>The figure element</title>
|
||||
<link rel=author title=Ms2ger href=ms2ger@gmail.com>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#the-figure-element>
|
||||
<style>
|
||||
body > div { margin: 1em 40px; }
|
||||
</style>
|
||||
<div>
|
||||
<div>Caption</div>
|
||||
Figure
|
||||
</div>
|
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<title>The figure element</title>
|
||||
<link rel="match" href="figure-ref.html">
|
||||
<link rel=author title=Ms2ger href=ms2ger@gmail.com>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#the-figure-element>
|
||||
<figure>
|
||||
<figcaption>Caption</figcaption>
|
||||
Figure
|
||||
</figure>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<ol><div><li>A</div></ol>
|
||||
<ol><div><li>A</div> <li>B</ol>
|
||||
<ol><div><li>A</div><div><li>B</div></ol>
|
||||
<ol reversed><div><li>A</div> <li>B</ol>
|
||||
<ol><div style=display:list-item>A</div><li>B</ol>
|
||||
<ol reversed><div style=display:list-item>A</div><li>B</ol>
|
||||
<ol reversed>
|
||||
<div><li>Two</li></div>
|
||||
<li>One</li>
|
||||
<li>Zero</li>
|
||||
</ol>
|
||||
<ol reversed>
|
||||
<li>Three</li>
|
||||
<li style="display: none"></li>
|
||||
<li>Two</li>
|
||||
</ol>
|
|
@ -0,0 +1,46 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Table borders</title>
|
||||
<style>
|
||||
table {
|
||||
border-width: 1px;
|
||||
border-style: outset;
|
||||
}
|
||||
td {
|
||||
border-width: 1px;
|
||||
border-style: inset;
|
||||
}
|
||||
</style>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<link rel="match" href="table-border-1-ref.html">
|
||||
<title>Table borders</title>
|
||||
<table border>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border="">
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=null>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=undefined>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=foo>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=1>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=1foo>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=1%>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=-1>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=-1foo>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=-1%>
|
||||
<tr><td>Test
|
||||
</table>
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Table borders</title>
|
||||
<style>
|
||||
table {
|
||||
border-width: 1px;
|
||||
border-style: outset;
|
||||
}
|
||||
td {
|
||||
border-width: 1px;
|
||||
border-style: inset;
|
||||
}
|
||||
</style>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Table borders</title>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table>
|
||||
<tr><td>Test
|
||||
</table>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<link rel="match" href="table-border-2-ref.html">
|
||||
<title>Table borders</title>
|
||||
<table border=0>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=0foo>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=0%>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=+0>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=+0foo>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=+0%>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=-0>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=-0foo>
|
||||
<tr><td>Test
|
||||
</table>
|
||||
<table border=-0%>
|
||||
<tr><td>Test
|
||||
</table>
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Table layout attribute</title>
|
||||
<table border width=100% style=table-layout:fixed>
|
||||
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
|
||||
</table>
|
||||
<table border width=100% style=table-layout:fixed>
|
||||
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
|
||||
</table>
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Table layout attribute</title>
|
||||
<table border width=100%>
|
||||
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
|
||||
</table>
|
||||
<table border width=100%>
|
||||
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
|
||||
</table>
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Table layout attribute</title>
|
||||
<link rel="match" href="table-layout-ref.html">
|
||||
<meta name="assert"
|
||||
content="The layout attribute on table elements should have no effect.">
|
||||
<table border width=100% layout=fixed>
|
||||
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
|
||||
</table>
|
||||
<table border width=100% layout=auto>
|
||||
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
|
||||
</table>
|
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<title>Test for capping percentages</title>
|
||||
<style>
|
||||
div { width:300px; background:yellow; height:50px; }
|
||||
table { width:150%; }
|
||||
td { background:blue; }
|
||||
</style>
|
||||
<div>
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr><td>parent div float=left</td></tr>
|
||||
</table>
|
||||
</div>
|
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<title>Test for capping percentages</title>
|
||||
<link rel="match" href="table-width-150percent-ref.html">
|
||||
<style>
|
||||
div { width:300px; background:yellow; height:50px; }
|
||||
td { background:blue; }
|
||||
</style>
|
||||
<div>
|
||||
<table width="150%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr><td>parent div float=left</td></tr>
|
||||
</table>
|
||||
</div>
|
|
@ -0,0 +1,16 @@
|
|||
<html xmlns='http://www.w3.org/1999/xhtml'>
|
||||
<head>
|
||||
<title>body - LINK=yellow</title>
|
||||
</head>
|
||||
<body link="yellow">
|
||||
<p> Test for <b> link="yellow" </b> on body </p>
|
||||
|
||||
This <a href="test-body.xhtml">LINK</a> should be displayed in <b>yellow</b><i> if it has not been clicked before </i><br/>
|
||||
<p>Once clicked, the link will take default color of visited link.<br /></p>
|
||||
<p>To run this test again in browsers, delete your browsing history and navigate to this page.<br /></p>
|
||||
|
||||
<p>
|
||||
<i>Note - This test checks for User Agent requirement as per HTML5 spec NOT the author requirement</i>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>[body - TEXT=00ffff] Reference file</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<style>
|
||||
body {
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>This document should have text color 'Blue' using the RGB Hexadecimal color value of "0000ff". </p>
|
||||
<p>This test passes if the color of text above matches the image below.</p>
|
||||
<p><img src="/images/blue.png"/></p>
|
||||
</body>
|
|
@ -0,0 +1,12 @@
|
|||
<html xmlns='http://www.w3.org/1999/xhtml'>
|
||||
<head>
|
||||
<title>body - TEXT=00ffff</title>
|
||||
<link rel="match" href="body_text_00ffff-ref.html"/>
|
||||
<meta name="assert" content="Test checks that User Agent requirement as per HTML5 spec NOT the author requirement."/>
|
||||
</head>
|
||||
<body text="0000ff">
|
||||
<p>This document should have text color 'Blue' using the RGB Hexadecimal color value of "0000ff". </p>
|
||||
<p>This test passes if the color of text above matches the image below.</p>
|
||||
<p><img src="/images/blue.png" /></p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title> This is a test page</title>
|
||||
</head>
|
||||
<body>
|
||||
<p> To rerun this test, delete history and go <a href="body_link.xhtml">back </a> to previous test.</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue