mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
219 lines
No EOL
9.2 KiB
HTML
219 lines
No EOL
9.2 KiB
HTML
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>Pseudo-elements - 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>Pseudo-elements (12 tests)</h2>
|
|
<table width="100%">
|
|
<col id="test-column">
|
|
<col id="refs-column">
|
|
<col id="flags-column">
|
|
<col id="info-column">
|
|
<thead>
|
|
<tr>
|
|
<th>Test</th>
|
|
<th><abbr title="Rendering References">Refs</abbr></th>
|
|
<th>Flags</th>
|
|
<th>Info</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="s7">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s7">+</a>
|
|
<a href="https://www.w3.org/TR/css3-selectors/#pseudo-elements">7 Pseudo-elements</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s7.1">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s7.1">+</a>
|
|
<a href="https://www.w3.org/TR/css3-selectors/#first-line">7.1 The ::first-line pseudo-element</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s7.1.1">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s7.1.1">+</a>
|
|
<a href="https://www.w3.org/TR/css3-selectors/#first-formatted-line">7.1.1 First formatted line definition in CSS</a></th></tr>
|
|
<!-- 6 tests -->
|
|
<tr id="grid-first-line-001-7.1.1" class="">
|
|
<td>
|
|
<a href="grid-first-line-001.htm">grid-first-line-001</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-line' from grid container does not apply to grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-line' pseudo-element is ignored in grid items when applied to a grid container.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-first-line-002-7.1.1" class="">
|
|
<td>
|
|
<a href="grid-first-line-002.htm">grid-first-line-002</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-line' from grid container ancestors does not apply to grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-line' pseudo-element is ignored in grid items when applied to a grid container ancestors.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-first-line-003-7.1.1" class="">
|
|
<td>
|
|
<a href="grid-first-line-003.htm">grid-first-line-003</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-line' works on grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-line' pseudo-element works as expected if it is applied directly to a grid item.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-inline-first-line-001-7.1.1" class="">
|
|
<td>
|
|
<a href="grid-inline-first-line-001.htm">grid-inline-first-line-001</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-line' from inline grid container does not apply to grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-line' pseudo-element is ignored in grid items when applied to an inline grid container.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-inline-first-line-002-7.1.1" class="">
|
|
<td>
|
|
<a href="grid-inline-first-line-002.htm">grid-inline-first-line-002</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-line' from inline grid container ancestors does not apply to grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-line' pseudo-element is ignored in anonymous grid items when applied to an inline grid container ancestors.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-inline-first-line-003-7.1.1" class="">
|
|
<td>
|
|
<a href="grid-inline-first-line-003.htm">grid-inline-first-line-003</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-line' works on grid items within an inline grid
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-line' pseudo-element works as expected if it is applied directly to a grid item within an inline grid.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tbody id="s7.1.1.#first-formatted-line0">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s7.2">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s7.2">+</a>
|
|
<a href="https://www.w3.org/TR/css3-selectors/#first-letter">7.2 The ::first-letter pseudo-element</a></th></tr>
|
|
<!-- 6 tests -->
|
|
<tr id="grid-first-letter-001-7.2" class="">
|
|
<td>
|
|
<a href="grid-first-letter-001.htm">grid-first-letter-001</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-letter' from grid container does not apply to grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-letter' pseudo-element is ignored in grid items when applied to a grid container.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-first-letter-002-7.2" class="">
|
|
<td>
|
|
<a href="grid-first-letter-002.htm">grid-first-letter-002</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-letter' from grid container ancestors does not apply to grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-letter' pseudo-element is ignored in grid items when applied to a grid container ancestors.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-first-letter-003-7.2" class="">
|
|
<td>
|
|
<a href="grid-first-letter-003.htm">grid-first-letter-003</a></td>
|
|
<td><a href="reference/grid-first-letter-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-letter' works on grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-letter' pseudo-element works as expected if it is applied directly to a grid item.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-inline-first-letter-001-7.2" class="">
|
|
<td>
|
|
<a href="grid-inline-first-letter-001.htm">grid-inline-first-letter-001</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-letter' from inline grid container does not apply to grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-letter' pseudo-element is ignored in grid items when applied to an inline grid container.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-inline-first-letter-002-7.2" class="">
|
|
<td>
|
|
<a href="grid-inline-first-letter-002.htm">grid-inline-first-letter-002</a></td>
|
|
<td><a href="reference/grid-text-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-letter' from inline grid container ancestors does not apply to grid items
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-letter' pseudo-element is ignored in grid items when applied to an inline grid container ancestors.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="grid-inline-first-letter-003-7.2" class="">
|
|
<td>
|
|
<a href="grid-inline-first-letter-003.htm">grid-inline-first-letter-003</a></td>
|
|
<td><a href="reference/grid-first-letter-green-margin-no-collapse-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>'::first-letter' works on grid items within an inline grid
|
|
<ul class="assert">
|
|
<li>This test checks that '::first-letter' pseudo-element works as expected if it is applied directly to a grid item within an inline grid.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tbody id="s7.2.#fictional-tag-sequence">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s7.2.#overlapping-example">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s7.2.1">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s7.2.1">+</a>
|
|
<a href="https://www.w3.org/TR/css3-selectors/#application-in-css">7.2.1 Application in CSS</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s7.2.1.#fictional-tag-sequence0">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s7.3">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s7.3">+</a>
|
|
<a href="https://www.w3.org/TR/css3-selectors/#selection">7.3 Blank</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s7.4">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s7.4">+</a>
|
|
<a href="https://www.w3.org/TR/css3-selectors/#gen-content">7.4 The ::before and ::after pseudo-elements</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
</table>
|
|
|
|
</body>
|
|
</html> |