mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update CSS tests to revision b9c63d615a65c4d96f26969bcd504d4e1c3cdab8
This commit is contained in:
parent
0e0e902edd
commit
4d13f9f5d5
641 changed files with 24127 additions and 11370 deletions
|
@ -13,7 +13,7 @@
|
|||
<body>
|
||||
|
||||
<h1>Selectors Level 4 CR Test Suite</h1>
|
||||
<h2>Tree-Structural pseudo-classes (0 tests)</h2>
|
||||
<h2>Tree-Structural pseudo-classes (1 tests)</h2>
|
||||
<table width="100%">
|
||||
<col id="test-column"></col>
|
||||
<col id="refs-column"></col>
|
||||
|
@ -175,7 +175,15 @@
|
|||
<tr><th colspan="4" scope="rowgroup">
|
||||
<a href="#s12.6.3">+</a>
|
||||
<a href="https://www.w3.org/TR/selectors4/#the-first-of-type-pseudo">12.6.3 :first-of-type pseudo-class</a></th></tr>
|
||||
<!-- 0 tests -->
|
||||
<!-- 1 tests -->
|
||||
<tr id="of-type-selectors-12.6.3" class="primary namespace nonHTML">
|
||||
<td><strong>
|
||||
<a href="of-type-selectors.xht">of-type-selectors</a></strong></td>
|
||||
<td><a href="reference/of-type-selectors-ref.xht">=</a> </td>
|
||||
<td><abbr class="namespace" title="Requires XML Namespaces support">Namespaces</abbr></td>
|
||||
<td>Selectors Level 4: :first-of-type
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="s12.6.3.#first-of-type-pseudo">
|
||||
<!-- 0 tests -->
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title>Selectors Level 4: :first-of-type</title>
|
||||
<meta name="flags" content="namespace nonHTML"/>
|
||||
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
|
||||
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/>
|
||||
<link rel="help" href="https://drafts.csswg.org/selectors-4/#the-first-of-type-pseudo"/>
|
||||
<link rel="match" href="reference/of-type-selectors-ref.xht"/>
|
||||
<style type="text/css">
|
||||
div > *|* {
|
||||
display: block;
|
||||
color: black;
|
||||
background: yellow;
|
||||
border: thin solid;
|
||||
margin: 1em;
|
||||
}
|
||||
div > *|*:first-of-type {
|
||||
background: lime;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p>This line should have a green background.</p>
|
||||
<p>This line should have a yellow background.</p>
|
||||
<html:p>This line should have a yellow background.</html:p>
|
||||
<p xmlns="http://www.example.com/ns">This line should have a green background.</p>
|
||||
<p xmlns="">This line should have a green background.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title>Selectors Level 4: :first-of-type</title>
|
||||
<link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"/>
|
||||
<style type="text/css">
|
||||
div > *|* {
|
||||
display: block;
|
||||
color: black;
|
||||
border: thin solid;
|
||||
margin: 1em;
|
||||
}
|
||||
.yellow {
|
||||
background: yellow;
|
||||
}
|
||||
.green {
|
||||
background: lime;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p class="green">This line should have a green background.</p>
|
||||
<p class="yellow">This line should have a yellow background.</p>
|
||||
<p class="yellow">This line should have a yellow background.</p>
|
||||
<p class="green">This line should have a green background.</p>
|
||||
<p class="green">This line should have a green background.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -112,6 +112,14 @@
|
|||
<td rowspan="1"><abbr class="dom" title="Requires Document Object Model support">DOM/JS</abbr><abbr class="interact" title="Requires user interaction">Interact</abbr></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="of-type-selectors" class="namespace nonHTML">
|
||||
<tr>
|
||||
<td rowspan="1" title="Selectors Level 4: :first-of-type">
|
||||
<a href="of-type-selectors.xht">of-type-selectors</a></td>
|
||||
<td><a href="reference/of-type-selectors-ref.xht">=</a> </td>
|
||||
<td rowspan="1"><abbr class="namespace" title="Requires XML Namespaces support">Namespaces</abbr></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="selector-required" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="CSS level4 Selector :required and :optional">
|
||||
|
|
|
@ -10,6 +10,7 @@ focus-within-shadow-002.xht == reference/focus-within-shadow-001-ref.xht
|
|||
focus-within-shadow-003.xht == reference/focus-within-shadow-001-ref.xht
|
||||
focus-within-shadow-004.xht == reference/focus-within-shadow-001-ref.xht
|
||||
focus-within-shadow-005.xht == reference/focus-within-shadow-001-ref.xht
|
||||
of-type-selectors.xht == reference/of-type-selectors-ref.xht
|
||||
selector-required.xht == reference/selector-required-ref.xht
|
||||
selectors-dir-selector-ltr-001.xht == reference/selectors-dir-selector-ref.xht
|
||||
selectors-dir-selector-rtl-001.xht == reference/selectors-dir-selector-ref.xht
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<input required="" />
|
||||
</p>
|
||||
<p>
|
||||
<input optinal="" />
|
||||
<input optional="" />
|
||||
</p>
|
||||
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
<tbody id="s12">
|
||||
<tr><th><a href="chapter-12.xht">Chapter 12 -
|
||||
Tree-Structural pseudo-classes</a></th>
|
||||
<td>(0 Tests)</td></tr>
|
||||
<td>(1 Tests)</td></tr>
|
||||
</tbody>
|
||||
<tbody id="s13">
|
||||
<tr><th><a href="chapter-13.xht">Chapter 13 -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue