mirror of
https://github.com/servo/servo.git
synced 2025-07-10 00:43:39 +01:00
85 lines
No EOL
2.8 KiB
HTML
85 lines
No EOL
2.8 KiB
HTML
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>Linguistic Pseudo-classes - Selectors Level 4 CR 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 4 CR Test Suite</h1>
|
|
<h2>Linguistic Pseudo-classes (2 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="s10">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s10">+</a>
|
|
<a href="https://www.w3.org/TR/selectors4/#linguistic-pseudos">10 Linguistic Pseudo-classes</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s10.1">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s10.1">+</a>
|
|
<a href="https://www.w3.org/TR/selectors4/#the-dir-pseudo">10.1 The directionality pseudo-class :dir()</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s10.1.#dir-pseudo">
|
|
<!-- 2 tests -->
|
|
<tr id="selectors-dir-selector-ltr-001-10.1.#dir-pseudo" class="">
|
|
<td>
|
|
<a href="selectors-dir-selector-ltr-001.htm">selectors-dir-selector-ltr-001</a></td>
|
|
<td><a href="reference/selectors-dir-selector-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>basic support for dir(ltr)
|
|
<ul class="assert">
|
|
<li>The :dir(ltr) pseudo-class matches an element that has a directionality of (ltr). Since the div element has dir=ltr, the selector matches.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="selectors-dir-selector-rtl-001-10.1.#dir-pseudo" class="">
|
|
<td>
|
|
<a href="selectors-dir-selector-rtl-001.htm">selectors-dir-selector-rtl-001</a></td>
|
|
<td><a href="reference/selectors-dir-selector-ref.htm">=</a> </td>
|
|
<td></td>
|
|
<td>basic support for dir(rtl)
|
|
<ul class="assert">
|
|
<li>The :dir(rtl) pseudo-class matches an elment that has a directionality of right-to-left (rtl). Since the div element has dir=rtl, the selector matches.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tbody id="s10.2">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s10.2">+</a>
|
|
<a href="https://www.w3.org/TR/selectors4/#the-lang-pseudo">10.2 The language pseudo-class :lang()</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s10.2.#lang-pseudo">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s10.2.#language">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s10.2.#language-range">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
</table>
|
|
|
|
</body>
|
|
</html> |