servo/tests/wpt/css-tests/selectors-3_dev/xhtml1/chapter-6.xht

534 lines
No EOL
22 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Simple selectors - Selectors Level 3 Conformance Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>Selectors Level 3 Conformance Test Suite</h1>
<h2>Simple selectors (42 tests)</h2>
<table width="100%">
<col id="test-column"></col>
<col id="refs-column"></col>
<col id="flags-column"></col>
<col id="info-column"></col>
<thead>
<tr>
<th>Test</th>
<th><abbr title="Rendering References">Refs</abbr></th>
<th>Flags</th>
<th>Info</th>
</tr>
</thead>
<tbody id="s6">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#simple-selectors">6 Simple selectors</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.1">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#type-selectors">6.1 Type selector</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.1.#type-selector">
<!-- 0 tests -->
</tbody>
<tbody id="s6.1.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.1.1">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#typenmsp">6.1.1 Type selectors and namespaces</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.2">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#universal-selector">6.2 Universal selector</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.2.#universal-selector0">
<!-- 0 tests -->
</tbody>
<tbody id="s6.2.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.2.1">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#univnmsp">6.2.1 Universal selector and namespaces</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.3">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.3">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#attribute-selectors">6.3 Attribute selectors</a></th></tr>
<!-- 28 tests -->
<tr id="css3-selectors-lang-021-6.3" class="script">
<td>
<a href="css3-selectors-lang-021.xht">css3-selectors-lang-021</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;es&quot;], lang=&quot;es&quot;
</td>
</tr>
<tr id="css3-selectors-lang-022-6.3" class="script">
<td>
<a href="css3-selectors-lang-022.xht">css3-selectors-lang-022</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;es&quot;], lang=&quot;es&quot; on parent
</td>
</tr>
<tr id="css3-selectors-lang-025-6.3" class="script">
<td>
<a href="css3-selectors-lang-025.xht">css3-selectors-lang-025</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;es&quot;], lang=&quot;es-MX&quot;
</td>
</tr>
<tr id="css3-selectors-lang-026-6.3" class="script">
<td>
<a href="css3-selectors-lang-026.xht">css3-selectors-lang-026</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;es-MX&quot;], lang=&quot;es&quot;
</td>
</tr>
<tr id="css3-selectors-lang-027-6.3" class="script">
<td>
<a href="css3-selectors-lang-027.xht">css3-selectors-lang-027</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;es&quot;], lang=&quot;mx-es&quot;
</td>
</tr>
<tr id="css3-selectors-lang-028-6.3" class="script">
<td>
<a href="css3-selectors-lang-028.xht">css3-selectors-lang-028</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;en-GB&quot;], lang=&quot;en-GB&quot;
</td>
</tr>
<tr id="css3-selectors-lang-029-6.3" class="script">
<td>
<a href="css3-selectors-lang-029.xht">css3-selectors-lang-029</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;en-GB&quot;], lang=&quot;en-GB-scouse&quot;
</td>
</tr>
<tr id="css3-selectors-lang-030-6.3" class="script">
<td>
<a href="css3-selectors-lang-030.xht">css3-selectors-lang-030</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;en-GB&quot;], lang=&quot;en-US&quot;
</td>
</tr>
<tr id="css3-selectors-lang-031-6.3" class="script">
<td>
<a href="css3-selectors-lang-031.xht">css3-selectors-lang-031</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;az-Arab-IR&quot;], lang=&quot;az-Arab-IR&quot;
</td>
</tr>
<tr id="css3-selectors-lang-032-6.3" class="script">
<td>
<a href="css3-selectors-lang-032.xht">css3-selectors-lang-032</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;az-Arab-IR&quot;], lang=&quot;az-IR&quot;
</td>
</tr>
<tr id="css3-selectors-lang-034-6.3" class="script">
<td>
<a href="css3-selectors-lang-034.xht">css3-selectors-lang-034</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang|=&quot;cs-CZ&quot;], lang=&quot;cs-Latn-CZ&quot;
</td>
</tr>
<tr id="css3-selectors-lang-041-6.3" class="script">
<td>
<a href="css3-selectors-lang-041.xht">css3-selectors-lang-041</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;es&quot;], lang=&quot;es&quot;
</td>
</tr>
<tr id="css3-selectors-lang-042-6.3" class="script">
<td>
<a href="css3-selectors-lang-042.xht">css3-selectors-lang-042</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;es&quot;], lang=&quot;es&quot; on parent
</td>
</tr>
<tr id="css3-selectors-lang-045-6.3" class="script">
<td>
<a href="css3-selectors-lang-045.xht">css3-selectors-lang-045</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;es&quot;], lang=&quot;es-MX&quot;
</td>
</tr>
<tr id="css3-selectors-lang-046-6.3" class="script">
<td>
<a href="css3-selectors-lang-046.xht">css3-selectors-lang-046</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;es-MX&quot;], lang=&quot;es&quot;
</td>
</tr>
<tr id="css3-selectors-lang-047-6.3" class="script">
<td>
<a href="css3-selectors-lang-047.xht">css3-selectors-lang-047</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;es&quot;], lang=&quot;mx-es&quot;
</td>
</tr>
<tr id="css3-selectors-lang-048-6.3" class="script">
<td>
<a href="css3-selectors-lang-048.xht">css3-selectors-lang-048</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;en-GB&quot;], lang=&quot;en-GB&quot;
</td>
</tr>
<tr id="css3-selectors-lang-049-6.3" class="script">
<td>
<a href="css3-selectors-lang-049.xht">css3-selectors-lang-049</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;en-GB&quot;], lang=&quot;en-GB-scouse&quot;
</td>
</tr>
<tr id="css3-selectors-lang-050-6.3" class="script">
<td>
<a href="css3-selectors-lang-050.xht">css3-selectors-lang-050</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;en-GB&quot;], lang=&quot;en-US&quot;
</td>
</tr>
<tr id="css3-selectors-lang-051-6.3" class="script">
<td>
<a href="css3-selectors-lang-051.xht">css3-selectors-lang-051</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;az-Arab-IR&quot;], lang=&quot;az-Arab-IR&quot;
</td>
</tr>
<tr id="css3-selectors-lang-052-6.3" class="script">
<td>
<a href="css3-selectors-lang-052.xht">css3-selectors-lang-052</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;az-Arab-IR&quot;], lang=&quot;az-IR&quot;
</td>
</tr>
<tr id="css3-selectors-lang-054-6.3" class="script">
<td>
<a href="css3-selectors-lang-054.xht">css3-selectors-lang-054</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>[lang=&quot;cs-CZ&quot;], lang=&quot;cs-Latn-CZ&quot;
</td>
</tr>
</tbody>
<tbody id="s6.3.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.3.1">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#attribute-representation">6.3.1 Attribute presence and value selectors</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.3.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.3.2">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#attribute-substrings">6.3.2 Substring matching attribute selectors</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.3.3">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.3.3">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#attrnmsp">6.3.3 Attribute selectors and namespaces</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.3.4">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.3.4">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#def-values">6.3.4 Default attribute values in DTDs</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.4">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.4">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#class-html">6.4 Class selectors</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.5">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.5">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#id-selectors">6.5 ID selectors</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#pseudo-classes">6.6 Pseudo-classes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.1">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#dynamic-pseudos">6.6.1 Dynamic pseudo-classes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.1.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.1.1">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#the-link-pseudo-classes-link-and-visited">6.6.1.1 The link pseudo-classes: :link and :visited</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.1.1.#link">
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.1.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.1.2">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#the-user-action-pseudo-classes-hover-act">6.6.1.2 The user action pseudo-classes :hover, :active, and :focus</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.1.2.#useraction-pseudos">
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.2">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#target-pseudo">6.6.2 The target pseudo-class :target</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.3">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.3">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#lang-pseudo">6.6.3 The language pseudo-class :lang</a></th></tr>
<!-- 14 tests -->
<tr id="css3-selectors-lang-001-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-001.xht">css3-selectors-lang-001</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(es), lang=&quot;es&quot;
</td>
</tr>
<tr id="css3-selectors-lang-002-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-002.xht">css3-selectors-lang-002</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(es), lang=&quot;es&quot; on parent
</td>
</tr>
<tr id="css3-selectors-lang-005-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-005.xht">css3-selectors-lang-005</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(es), lang=&quot;es-MX&quot;
</td>
</tr>
<tr id="css3-selectors-lang-006-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-006.xht">css3-selectors-lang-006</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(es-MX), lang=&quot;es&quot;
</td>
</tr>
<tr id="css3-selectors-lang-007-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-007.xht">css3-selectors-lang-007</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(es), lang=&quot;mx-es&quot;
</td>
</tr>
<tr id="css3-selectors-lang-008-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-008.xht">css3-selectors-lang-008</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(en-GB), lang=&quot;en-GB&quot;
</td>
</tr>
<tr id="css3-selectors-lang-009-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-009.xht">css3-selectors-lang-009</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(en-GB), lang=&quot;en-GB-scouse&quot;
</td>
</tr>
<tr id="css3-selectors-lang-010-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-010.xht">css3-selectors-lang-010</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(en-GB), lang=&quot;en-US&quot;
</td>
</tr>
<tr id="css3-selectors-lang-011-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-011.xht">css3-selectors-lang-011</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(az-Arab-IR), lang=&quot;az-Arab-IR&quot;
</td>
</tr>
<tr id="css3-selectors-lang-012-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-012.xht">css3-selectors-lang-012</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(az-Arab-IR), lang=&quot;az-IR&quot;
</td>
</tr>
<tr id="css3-selectors-lang-014-6.6.3" class="script">
<td>
<a href="css3-selectors-lang-014.xht">css3-selectors-lang-014</a></td>
<td></td>
<td><abbr class="script" title="Executes tests in script">Script</abbr></td>
<td>:lang(cs-CZ), lang=&quot;cs-Latn-CZ&quot;
</td>
</tr>
</tbody>
<tbody id="s6.6.4">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.4">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#UIstates">6.6.4 The UI element states pseudo-classes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.4.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.4.1">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#enableddisabled">6.6.4.1 The :enabled and :disabled pseudo-classes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.4.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.4.2">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#checked">6.6.4.2 The :checked pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.4.3">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.4.3">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#indeterminate">6.6.4.3 The :indeterminate pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#structural-pseudos">6.6.5 Structural pseudo-classes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.#structural-pseudo-classes">
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.1">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#root-pseudo">6.6.5.1 :root pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.2">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#nth-child-pseudo">6.6.5.2 :nth-child() pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.3">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.3">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#nth-last-child-pseudo">6.6.5.3 :nth-last-child() pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.4">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.4">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#nth-of-type-pseudo">6.6.5.4 :nth-of-type() pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.5">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.5">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#nth-last-of-type-pseudo">6.6.5.5 :nth-last-of-type() pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.6">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.6">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#first-child-pseudo">6.6.5.6 :first-child pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.7">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.7">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#last-child-pseudo">6.6.5.7 :last-child pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.8">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.8">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#first-of-type-pseudo">6.6.5.8 :first-of-type pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.9">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.9">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#last-of-type-pseudo">6.6.5.9 :last-of-type pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.10">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.10">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#only-child-pseudo">6.6.5.10 :only-child pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.11">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.11">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#only-of-type-pseudo">6.6.5.11 :only-of-type pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.5.12">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.5.12">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#empty-pseudo">6.6.5.12 :empty pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.6">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.6">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#content-selectors">6.6.6 Blank</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.6.7">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.6.7">+</a>
<a href="https://www.w3.org/TR/css3-selectors/#negation">6.6.7 The negation pseudo-class</a></th></tr>
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>