servo/tests/wpt/css-tests/css-page-3_dev/xhtml1print/chapter-7.xht

167 lines
No EOL
6.6 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>Page Properties - CSS Paged Media Module Level 3 CR Test Suite</title>
<style type="text/css">
@import "http://www.w3.org/StyleSheets/TR/base.css";
@import "../indices.css";
</style>
</head>
<body>
<h1>CSS Paged Media Module Level 3 CR Test Suite</h1>
<h2>Page Properties (10 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="s7">
<tr><th colspan="4" scope="rowgroup">
<a href="#s7">+</a>
<a href="https://www.w3.org/TR/css3-page/#page-properties">7 Page Properties</a></th></tr>
<!-- 10 tests -->
<tr id="at-page-rule-002-a-7" class="paged">
<td>
<a href="at-page-rule-002-a.xht">at-page-rule-002-a</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>@page margins on top and right using percentages
<ul class="assert">
<li>A percentage right margin in the @page context applies to the page box and is relative to the width of the page box. A percentage top margin in the @page context applies to the page box and is relative to the height of the page box.</li>
</ul>
</td>
</tr>
<tr id="at-page-rule-002-b-7" class="paged">
<td>
<a href="at-page-rule-002-b.xht">at-page-rule-002-b</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>@page margins shorthand using fixed physical units
<ul class="assert">
<li>A margin declaration within the @page context applies to the page box.</li>
</ul>
</td>
</tr>
<tr id="at-page-rule-002-c-7" class="paged">
<td>
<a href="at-page-rule-002-c.xht">at-page-rule-002-c</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>Page Margins: bottom and left (percent)
<ul class="assert">
<li>A margin declaration within the @page context applies to the page box.</li>
<li>Percentage values on right and left margins are relative to the page box width.</li>
<li>Percentage values on top and bottom margins are relative to the page box height.</li>
</ul>
</td>
</tr>
<tr id="page-background-000-7" class="paged">
<td>
<a href="page-background-000.xht">page-background-000</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>Page Box Background Coverage
<ul class="assert">
<li>The page background covers the entire page box, including the page margins.</li>
</ul>
</td>
</tr>
<tr id="page-borders-000-7" class="paged">
<td>
<a href="page-borders-000.xht">page-borders-000</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>@page border shorthand (absolute units)
<ul class="assert">
<li>A border declaration within the @page context applies to the page box.</li>
</ul>
</td>
</tr>
<tr id="page-margin-000-7" class="paged">
<td>
<a href="page-margin-000.xht">page-margin-000</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>@page margins shorthand using fixed physical units
<ul class="assert">
<li>A margin declaration within the @page context applies to the page box.</li>
</ul>
</td>
</tr>
<tr id="page-margin-001-7" class="paged">
<td>
<a href="page-margin-001.xht">page-margin-001</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>@page margins on top and right using percentages
<ul class="assert">
<li>A percentage right margin in the @page context applies to the page box and is relative to the width of the page box. A percentage top margin in the @page context applies to the page box and is relative to the height of the page box.</li>
</ul>
</td>
</tr>
<tr id="page-margin-002-7" class="paged">
<td>
<a href="page-margin-002.xht">page-margin-002</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>@page margins on bottom and left using percentages
<ul class="assert">
<li>A margin declaration within the @page context applies to the page box.</li>
</ul>
</td>
</tr>
<tr id="page-margin-003-7" class="paged">
<td>
<a href="page-margin-003.xht">page-margin-003</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>@page margin shorthand using ems
<ul class="assert">
<li>A margin declaration within the @page context applies to the page box.</li>
<li>A margin expressed in ems uses the page context's font.</li>
</ul>
</td>
</tr>
<tr id="page-properties-000-7" class="paged">
<td>
<a href="page-properties-000.xht">page-properties-000</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>@page width and height
<ul class="assert">
<li>The 'width' and 'height' properties do not apply to a page box.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s7.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s7.1">+</a>
<a href="https://www.w3.org/TR/css3-page/#page-based-counters">7.1 Page-based counters</a></th></tr>
<!-- 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-page/#margin-text-alignment">7.2 Page-margin boxes and default values</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s7.2.#margin-values">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>