mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Update web-platform-tests to revision 786fc058fd83cbf002be3a35100ab2a3b1f98d58
This commit is contained in:
parent
748fa72320
commit
d38b1c8241
76 changed files with 1323 additions and 174 deletions
|
@ -9,7 +9,7 @@ delimit text to be replaced and `#` represents a digit.
|
|||
|
||||
## Reftests
|
||||
|
||||
### Test
|
||||
### HTML test
|
||||
|
||||
<!--
|
||||
Syntax highlighting cannot be enabled for the following template because it
|
||||
|
@ -31,7 +31,7 @@ delimit text to be replaced and `#` represents a digit.
|
|||
|
||||
Filename: `{test-topic}-###.html`
|
||||
|
||||
### Reference:
|
||||
### HTML reference
|
||||
|
||||
<!--
|
||||
Syntax highlighting cannot be enabled for the following template because it
|
||||
|
@ -52,8 +52,36 @@ Filename: `{test-topic}-###.html`
|
|||
|
||||
Filename: `{description}.html` or `{test-topic}-###-ref.html`
|
||||
|
||||
### SVG test
|
||||
|
||||
``` svg
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
|
||||
<title>${1:Test title}</title>
|
||||
<metadata>
|
||||
<h:link rel="help" href="${2:Specification link}"/>
|
||||
<h:link rel="match" href="${3:URL of match}"/>
|
||||
</metadata>
|
||||
${4:Test body}
|
||||
</svg>
|
||||
```
|
||||
|
||||
Filename: `{test-topic}-###.svg`
|
||||
|
||||
### SVG reference
|
||||
|
||||
``` svg
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<title>${1:Reference title}</title>
|
||||
${2:Reference content}
|
||||
</svg>
|
||||
```
|
||||
|
||||
Filename: `{description}.svg` or `{test-topic}-###-ref.svg`
|
||||
|
||||
## testharness.js tests
|
||||
|
||||
### HTML
|
||||
|
||||
``` html
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
|
@ -67,8 +95,28 @@ ${2:Test body}
|
|||
|
||||
Filename: `{test-topic}-###.html`
|
||||
|
||||
### SVG
|
||||
|
||||
``` svg
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
|
||||
<title>${1:Test title}</title>
|
||||
<metadata>
|
||||
<h:link rel="help" href="${2:Specification link}"/>
|
||||
</metadata>
|
||||
<h:script src="/resources/testharness.js"/>
|
||||
<h:script src="/resources/testharnessreport.js"/>
|
||||
<script><![CDATA[
|
||||
${4:Test body}
|
||||
]]></script>
|
||||
</svg>
|
||||
```
|
||||
|
||||
Filename: `{test-topic}-###.svg`
|
||||
|
||||
### Manual Test
|
||||
|
||||
#### HTML
|
||||
|
||||
``` html
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
|
@ -82,3 +130,22 @@ ${2:Test body}
|
|||
```
|
||||
|
||||
Filename: `{test-topic}-###-manual.html`
|
||||
|
||||
#### SVG
|
||||
|
||||
``` svg
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
|
||||
<title>${1:Test title}</title>
|
||||
<metadata>
|
||||
<h:link rel="help" href="${2:Specification link}"/>
|
||||
</metadata>
|
||||
<h:script src="/resources/testharness.js"/>
|
||||
<h:script src="/resources/testharnessreport.js"/>
|
||||
<script><![CDATA[
|
||||
setup({explicit_timeout: true});
|
||||
${4:Test body}
|
||||
]]></script>
|
||||
</svg>
|
||||
```
|
||||
|
||||
Filename: `{test-topic}-###-manual.svg`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue