mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision 84af6c875d378944b39d895acdcfc170736b2d3d
This commit is contained in:
parent
d0bd2d5e44
commit
b81cdc75ce
246 changed files with 10836 additions and 1337 deletions
|
@ -1,14 +0,0 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
||||
|
||||
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
||||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
||||
|
||||
{% if jekyll.environment == 'production' and site.google_analytics %}
|
||||
{% include google-analytics.html %}
|
||||
{% endif %}
|
||||
</head>
|
|
@ -1,78 +0,0 @@
|
|||
<header class="site-header" role="banner">
|
||||
|
||||
<a class="github-fork-ribbon left-top" href="https://github.com/web-platform-tests/wpt/blob/master/docs/{{ page.path }}" data-ribbon="Edit on GitHub">Edit on GitHub</a>
|
||||
|
||||
<div class="wrapper">
|
||||
|
||||
<a class="site-title" href="{{ "/" | relative_url}}">{{ site.title | escape }}</a>
|
||||
|
||||
<nav class="wpt-site-nav" tabindex="0" aria-haspopup="true">
|
||||
<span class="menu-icon">
|
||||
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
||||
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
|
||||
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
|
||||
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
|
||||
</svg>
|
||||
</span>
|
||||
|
||||
<div class="trigger">
|
||||
<ul>
|
||||
<li><a class="page-link" href="{{ site.baseurl }}{% link introduction.md %}">
|
||||
Introduction
|
||||
</a>
|
||||
<li><a class="page-link" href="{{ site.baseurl }}{% link writing-tests/index.md %}">
|
||||
Writing Tests
|
||||
</a>
|
||||
<ul>
|
||||
{% assign writing_tests = site.writing-tests | sort: "order" %}
|
||||
{% for page in writing_tests %}
|
||||
{% if page.title and page.order != -1 %}
|
||||
<li>
|
||||
<a class="page-link" href="{{ page.url | relative_url }}">
|
||||
{{ page.title | escape }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<li><a class="page-link" href="{{ site.baseurl }}{% link running-tests/index.md %}">
|
||||
Running Tests
|
||||
</a>
|
||||
<li><a class="page-link" href="{{ site.baseurl }}{% link reviewing-tests/index.md %}">
|
||||
Reviewing Tests
|
||||
</a>
|
||||
<ul>
|
||||
{% assign reviewing_tests = site.reviewing-tests | sort: "order" %}
|
||||
{% for page in reviewing_tests %}
|
||||
{% if page.title and page.order != -1 %}
|
||||
<li>
|
||||
<a class="page-link" href="{{ page.url | relative_url }}">
|
||||
{{ page.title | escape }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<li><a class="page-link" href="{{ site.baseurl }}{% link appendix/index.md %}">
|
||||
Appendices
|
||||
</a>
|
||||
<ul>
|
||||
{% assign appendix = site.appendix | sort: "order" %}
|
||||
{% for page in appendix %}
|
||||
{% if page.title and page.order != -1 %}
|
||||
<li>
|
||||
<a class="page-link" href="{{ page.url | relative_url }}">
|
||||
{{ page.title | escape }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<script src="{{ "/assets/menu.js" | relative_url }}"></script>
|
||||
|
||||
</div>
|
||||
|
||||
</header>
|
|
@ -1,21 +0,0 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2012-2016 GitHub, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -1,11 +0,0 @@
|
|||
<svg width="12px" height="16px" viewBox="0 0 12 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>git-pull-request</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Octicons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="git-pull-request" fill="#000000">
|
||||
<path d="M11,11.28 L11,5 C10.97,4.22 10.66,3.53 10.06,2.94 C9.46,2.35 8.78,2.03 8,2 L7,2 L7,0 L4,3 L7,6 L7,4 L8,4 C8.27,4.02 8.48,4.11 8.69,4.31 C8.9,4.51 8.99,4.73 9,5 L9,11.28 C8.41,11.62 8,12.26 8,13 C8,14.11 8.89,15 10,15 C11.11,15 12,14.11 12,13 C12,12.27 11.59,11.62 11,11.28 L11,11.28 Z M10,14.2 C9.34,14.2 8.8,13.65 8.8,13 C8.8,12.35 9.35,11.8 10,11.8 C10.65,11.8 11.2,12.35 11.2,13 C11.2,13.65 10.65,14.2 10,14.2 L10,14.2 Z M4,3 C4,1.89 3.11,1 2,1 C0.89,1 0,1.89 0,3 C0,3.73 0.41,4.38 1,4.72 L1,11.28 C0.41,11.62 0,12.26 0,13 C0,14.11 0.89,15 2,15 C3.11,15 4,14.11 4,13 C4,12.27 3.59,11.62 3,11.28 L3,4.72 C3.59,4.38 4,3.74 4,3 L4,3 Z M3.2,13 C3.2,13.66 2.65,14.2 2,14.2 C1.35,14.2 0.8,13.65 0.8,13 C0.8,12.35 1.35,11.8 2,11.8 C2.65,11.8 3.2,12.35 3.2,13 L3.2,13 Z M2,4.2 C1.34,4.2 0.8,3.65 0.8,3 C0.8,2.35 1.35,1.8 2,1.8 C2.65,1.8 3.2,2.35 3.2,3 C3.2,3.65 2.65,4.2 2,4.2 L2,4.2 Z" id="Shape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.4 KiB |
|
@ -1,3 +0,0 @@
|
|||
<svg width="256" height="256" class="octicon octicon-key" viewBox="0 0 14 16" version="1.1" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M12.83 2.17C12.08 1.42 11.14 1.03 10 1c-1.13.03-2.08.42-2.83 1.17S6.04 3.86 6.01 5c0 .3.03.59.09.89L0 12v1l1 1h2l1-1v-1h1v-1h1v-1h2l1.09-1.11c.3.08.59.11.91.11 1.14-.03 2.08-.42 2.83-1.17S13.97 6.14 14 5c-.03-1.14-.42-2.08-1.17-2.83zM11 5.38c-.77 0-1.38-.61-1.38-1.38 0-.77.61-1.38 1.38-1.38.77 0 1.38.61 1.38 1.38 0 .77-.61 1.38-1.38 1.38z"></path>
|
||||
</svg>
|
Before Width: | Height: | Size: 500 B |
|
@ -1,11 +0,0 @@
|
|||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>package</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Octicons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="package" fill="#000000">
|
||||
<path d="M1,4.27 L1,11.74 C1,12.19 1.3,12.58 1.75,12.71 L8.25,14.44 C8.41,14.49 8.59,14.49 8.75,14.44 L15.25,12.71 C15.7,12.58 16,12.19 16,11.74 L16,4.27 C16,3.82 15.7,3.43 15.25,3.3 L8.75,1.56 C8.59,1.53 8.41,1.53 8.25,1.56 L1.75,3.3 C1.3,3.43 1,3.82 1,4.27 L1,4.27 Z M8,13.36 L2,11.77 L2,5 L8,6.61 L8,13.36 L8,13.36 Z M2,4 L4.5,3.33 L11,5.06 L8.5,5.73 L2,4 L2,4 Z M15,11.77 L9,13.36 L9,6.61 L11,6.06 L11,8.5 L13,7.97 L13,5.53 L15,5 L15,11.77 L15,11.77 Z M13,4.53 L6.5,2.8 L8.5,2.27 L15,4 L13,4.53 L13,4.53 Z" id="Shape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1,007 B |
|
@ -1,11 +0,0 @@
|
|||
<svg width="14px" height="16px" viewBox="0 0 14 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>pencil</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Octicons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="pencil" fill="#000000">
|
||||
<path d="M0,12 L0,15 L3,15 L11,7 L8,4 L0,12 L0,12 Z M3,14 L1,14 L1,12 L2,12 L2,13 L3,13 L3,14 L3,14 Z M13.3,4.7 L12,6 L9,3 L10.3,1.7 C10.69,1.31 11.32,1.31 11.71,1.7 L13.3,3.29 C13.69,3.68 13.69,4.31 13.3,4.7 L13.3,4.7 Z" id="Shape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 716 B |
|
@ -1,11 +0,0 @@
|
|||
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>tools</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Octicons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="tools" fill="#000000">
|
||||
<path d="M4.48,7.27 C4.74,7.53 5.76,8.6 5.76,8.6 L6.32,8.02 L5.44,7.11 L7.13,5.31 C7.13,5.31 6.37,4.57 6.7,4.86 C7.02,3.67 6.73,2.35 5.83,1.42 C4.93,0.5 3.66,0.2 2.52,0.51 L4.45,2.51 L3.94,4.47 L2.05,4.99 L0.12,2.99 C-0.19,4.17 0.1,5.48 1,6.4 C1.94,7.38 3.29,7.66 4.48,7.27 L4.48,7.27 Z M10.92,9.21 L8.59,11.51 L12.43,15.49 C12.74,15.82 13.16,15.98 13.57,15.98 C13.98,15.98 14.39,15.82 14.71,15.49 C15.34,14.84 15.34,13.79 14.71,13.14 L10.92,9.21 L10.92,9.21 Z M16,2.53 L13.55,0 L6.33,7.46 L7.21,8.37 L2.9,12.83 L1.91,13.36 L0.52,15.63 L0.87,16 L3.07,14.56 L3.58,13.54 L7.9,9.08 L8.78,9.99 L16,2.53 L16,2.53 Z" id="Shape"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.1 KiB |
|
@ -1,3 +0,0 @@
|
|||
<svg width="10px" height="16px" viewBox="0 0 10 16" xmlns="http://www.w3.org/2000/svg">
|
||||
<polygon points="0 14 10 8 0 2" fill="#000000"></polygon>
|
||||
</svg>
|
Before Width: | Height: | Size: 155 B |
|
@ -25,12 +25,12 @@ should not be applied.
|
|||
Harness style sheet rules:
|
||||
|
||||
``` css
|
||||
#userstyle
|
||||
.userstyle
|
||||
{
|
||||
color: green;
|
||||
display: none;
|
||||
}
|
||||
#nouserstyle
|
||||
.nouserstyle
|
||||
{
|
||||
color: red;
|
||||
display: none;
|
||||
|
|
|
@ -46,35 +46,30 @@ ways:
|
|||
|
||||
* By using a textual substitution feature of the server.
|
||||
|
||||
In order for the latter to work, a file must either have a name of the
|
||||
form `{name}.sub.{ext}` e.g. `example-test.sub.html` or be referenced
|
||||
through a URL containing `pipe=sub` in the query string
|
||||
e.g. `example-test.html?pipe=sub`. The substitution syntax uses `{%
|
||||
raw %}{{ }}{% endraw %}` to delimit items for substitution. For
|
||||
example to substitute in the main host name, one would write:
|
||||
`{% raw %}{{host}}{% endraw %}`.
|
||||
In order for the latter to work, a file must either have a name of the form
|
||||
`{name}.sub.{ext}` e.g. `example-test.sub.html` or be referenced through a URL
|
||||
containing `pipe=sub` in the query string e.g. `example-test.html?pipe=sub`.
|
||||
The substitution syntax uses `{{ }}` to delimit items for substitution. For
|
||||
example to substitute in the main host name, one would write: `{{host}}`.
|
||||
|
||||
To get full domains, including subdomains, there is the `hosts`
|
||||
dictionary, where the first dimension is the name of the domain, and
|
||||
the second the subdomain. For example, `{% raw %}{{hosts[][www]}}{%
|
||||
endraw %}` would give the `www` subdomain under the main (unnamed)
|
||||
domain, and `{% raw %}{{hosts[alt][élève]}}{% endraw %}` would give
|
||||
the `élève` subdomain under the alt domain.
|
||||
To get full domains, including subdomains, there is the `hosts` dictionary,
|
||||
where the first dimension is the name of the domain, and the second the
|
||||
subdomain. For example, `{{hosts[][www]}}` would give the `www` subdomain under
|
||||
the main (unnamed) domain, and `{{hosts[alt][élève]}}` would give the `élève`
|
||||
subdomain under the alt domain.
|
||||
|
||||
For mostly historic reasons, the subdomains of the main domain are
|
||||
also available under the `domains` dictionary; this is identical to
|
||||
`hosts[]`.
|
||||
|
||||
Ports are also available on a per-protocol basis. For example, `{% raw
|
||||
%}{{ports[ws][0]}}{% endraw %}` is replaced with the first (and only)
|
||||
WebSockets port, while `{% raw %}{{ports[http][1]}}{% endraw %}` is
|
||||
replaced with the second HTTP port.
|
||||
Ports are also available on a per-protocol basis. For example,
|
||||
`{{ports[ws][0]}}` is replaced with the first (and only) WebSockets port, while
|
||||
`{{ports[http][1]}}` is replaced with the second HTTP port.
|
||||
|
||||
The request URL itself can be used as part of the substitution using
|
||||
the `location` dictionary, which has entries matching the
|
||||
`window.location` API. For example, `{% raw %}{{location[host]}}{%
|
||||
endraw %}`is replaced by `hostname:port` for the current request,
|
||||
matching `location.host`.
|
||||
The request URL itself can be used as part of the substitution using the
|
||||
`location` dictionary, which has entries matching the `window.location` API.
|
||||
For example, `{{location[host]}}` is replaced by `hostname:port` for the
|
||||
current request, matching `location.host`.
|
||||
|
||||
|
||||
### Tests Requiring Special Headers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue