mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
Update CSS tests to revision b9c63d615a65c4d96f26969bcd504d4e1c3cdab8
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<body>
|
||||
|
||||
<h1>CSS 2.1 Conformance Test Suite</h1>
|
||||
<h2>Media types (22 tests)</h2>
|
||||
<h2>Media types (5 tests)</h2>
|
||||
<table width="100%">
|
||||
<col id="test-column">
|
||||
<col id="refs-column">
|
||||
@@ -30,195 +30,11 @@
|
||||
<tbody id="s7">
|
||||
<tr><th colspan="4" scope="rowgroup">
|
||||
<a href="#s7">+</a>
|
||||
<a href="https://www.w3.org/TR/CSS21/media.html">7 Media types</a></th></tr>
|
||||
<!-- 17 tests -->
|
||||
<tr id="media-dependency-001-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-001.htm">media-dependency-001</a></td>
|
||||
<td><a href="reference/filler-text-below-green.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>@media and target mediums
|
||||
<ul class="assert">
|
||||
<li>@media with a target medium applies styles on that target medium (screen).</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-002-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-002.htm">media-dependency-002</a></td>
|
||||
<td><a href="reference/filler-text-below-green.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>@import and target mediums
|
||||
<ul class="assert">
|
||||
<li>@media with a target medium applies styles on that target medium (screen).</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-003-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-003.htm">media-dependency-003</a></td>
|
||||
<td><a href="reference/filler-text-below-green.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Link tags and target mediums
|
||||
<ul class="assert">
|
||||
<li>Link with a target medium applies styles on that target medium (screen).</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-004-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-004.htm">media-dependency-004</a></td>
|
||||
<td><a href="reference/filler-text-below-green.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Case-insensitive media types
|
||||
<ul class="assert">
|
||||
<li>Media types are case-insensitive.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-005-7" class="invalid">
|
||||
<td>
|
||||
<a href="media-dependency-005.htm">media-dependency-005</a></td>
|
||||
<td><a href="reference/filler-text-below-green.htm">=</a> </td>
|
||||
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
|
||||
<td>Ignoring bad media types with @import
|
||||
<ul class="assert">
|
||||
<li>User agent ignores media types it does not understand with @import.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-006-7" class="invalid">
|
||||
<td>
|
||||
<a href="media-dependency-006.htm">media-dependency-006</a></td>
|
||||
<td><a href="reference/filler-text-below-green.htm">=</a> </td>
|
||||
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
|
||||
<td>Ignoring bad media types with @media
|
||||
<ul class="assert">
|
||||
<li>User agent ignores media types it does not understand with @media.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-007-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-007.htm">media-dependency-007</a></td>
|
||||
<td><a href="reference/no-red-filler-text-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Non-matching target mediums
|
||||
<ul class="assert">
|
||||
<li>The @media block does not apply because it does not match the target medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-008-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-008.htm">media-dependency-008</a></td>
|
||||
<td><a href="reference/no-red-filler-text-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Non-matching target mediums and @import
|
||||
<ul class="assert">
|
||||
<li>The @import command does not apply because it does not match the target medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-009-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-009.htm">media-dependency-009</a></td>
|
||||
<td><a href="reference/filler-text-below-green.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Matching the 'All' target medium
|
||||
<ul class="assert">
|
||||
<li>The 'all' media type applies to the screen medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-010-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-010.htm">media-dependency-010</a></td>
|
||||
<td><a href="reference/no-red-filler-text-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Non-matching target mediums (braille)
|
||||
<ul class="assert">
|
||||
<li>The 'braille' media type does not apply to the screen medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-011-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-011.htm">media-dependency-011</a></td>
|
||||
<td><a href="reference/no-red-filler-text-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Non-matching target mediums (embossed)
|
||||
<ul class="assert">
|
||||
<li>The 'embossed' media type does not apply to the screen medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-012-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-012.htm">media-dependency-012</a></td>
|
||||
<td><a href="reference/no-red-filler-text-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Non-matching target mediums (handheld)
|
||||
<ul class="assert">
|
||||
<li>The 'handheld' media type does not apply to the screen medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-013-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-013.htm">media-dependency-013</a></td>
|
||||
<td><a href="reference/no-red-filler-text-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Non-matching target mediums (projection)
|
||||
<ul class="assert">
|
||||
<li>The 'projection' media type does not apply to the screen medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-014-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-014.htm">media-dependency-014</a></td>
|
||||
<td><a href="reference/no-red-filler-text-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Non-matching target mediums (speech)
|
||||
<ul class="assert">
|
||||
<li>The 'speech' media type does not apply to the screen medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-015-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-015.htm">media-dependency-015</a></td>
|
||||
<td><a href="reference/no-red-filler-text-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Non-matching target mediums (tty)
|
||||
<ul class="assert">
|
||||
<li>The 'tty' media type does not apply to the screen medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-016-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-016.htm">media-dependency-016</a></td>
|
||||
<td><a href="reference/no-red-filler-text-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Non-matching target mediums (tv)
|
||||
<ul class="assert">
|
||||
<li>The 'tv' media type does not apply to the screen medium.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="media-dependency-017-7" class="">
|
||||
<td>
|
||||
<a href="media-dependency-017.htm">media-dependency-017</a></td>
|
||||
<td><a href="reference/filler-text-below-green.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>Multiple target mediums
|
||||
<ul class="assert">
|
||||
<li>An '@media' rule specifies the target media types separated by commas.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<a href="https://www.w3.org/TR/CSS21/media.html#q7.0">7 Media types</a></th></tr>
|
||||
<!-- 0 tests -->
|
||||
</tbody>
|
||||
<tbody id="s7.#annoying-warning">
|
||||
<!-- 0 tests -->
|
||||
</tbody>
|
||||
<tbody id="s7.1">
|
||||
<tr><th colspan="4" scope="rowgroup">
|
||||
|
||||
Reference in New Issue
Block a user