mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
Update CSS tests to revision 7a87ef71fc579e52d3438e009107aa442bc4021b
This commit is contained in:
parent
ad94ef5a96
commit
145aea3eeb
1196 changed files with 14344 additions and 6221 deletions
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><title>CSS UI: box-sizing:padding-box for a block box</title>
|
||||
<link href="http://www.w3.org/TR/css3-ui/#box-sizing" rel="help">
|
||||
<link href="reference/box-sizing-padding-box-block-001-ref.htm" rel="match">
|
||||
<style>
|
||||
#test { box-sizing:padding-box; padding:50px; width:150px; height:50px; background:black }
|
||||
</style>
|
||||
</head><body><p>There should be a black square below.</p>
|
||||
<div id="test"></div></body></html>
|
|
@ -13,7 +13,7 @@
|
|||
<body>
|
||||
|
||||
<h1>CSS Basic User Interface Module Level 3 CR Test Suite</h1>
|
||||
<h2>Box Model addition (35 tests)</h2>
|
||||
<h2>Box Model addition (36 tests)</h2>
|
||||
<table width="100%">
|
||||
<col id="test-column">
|
||||
<col id="refs-column">
|
||||
|
@ -37,7 +37,7 @@
|
|||
<tr><th colspan="4" scope="rowgroup">
|
||||
<a href="#s3.1">+</a>
|
||||
<a href="http://www.w3.org/TR/css3-ui/#box-sizing">3.1 box-sizing property</a></th></tr>
|
||||
<!-- 35 tests -->
|
||||
<!-- 36 tests -->
|
||||
<tr id="box-sizing-001-3.1" class="primary">
|
||||
<td><strong>
|
||||
<a href="box-sizing-001.htm">box-sizing-001</a></strong></td>
|
||||
|
@ -390,6 +390,14 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="box-sizing-padding-box-block-001-3.1" class="primary">
|
||||
<td><strong>
|
||||
<a href="box-sizing-padding-box-block-001.htm">box-sizing-padding-box-block-001</a></strong></td>
|
||||
<td><a href="reference/box-sizing-padding-box-block-001-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>CSS UI: box-sizing:padding-box for a block box
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="box-sizing-replaced-001-3.1" class="primary image">
|
||||
<td><strong>
|
||||
<a href="box-sizing-replaced-001.htm">box-sizing-replaced-001</a></strong></td>
|
||||
|
|
|
@ -78,10 +78,10 @@
|
|||
<a href="#s4.3">+</a>
|
||||
<a href="http://www.w3.org/TR/css3-ui/#outline-style">4.3 outline-style property</a></th></tr>
|
||||
<!-- 4 tests -->
|
||||
<tr id="outline-style-001-4.3" class="primary">
|
||||
<tr id="outline-style-011-4.3" class="primary">
|
||||
<td><strong>
|
||||
<a href="outline-style-001.htm">outline-style-001</a></strong></td>
|
||||
<td><a href="reference/outline-style-001-ref.htm">=</a> </td>
|
||||
<a href="outline-style-011.htm">outline-style-011</a></strong></td>
|
||||
<td><a href="reference/outline-style-011-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>outline-style - dotted (basic)
|
||||
<ul class="assert">
|
||||
|
@ -89,10 +89,10 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="outline-style-002-4.3" class="primary">
|
||||
<tr id="outline-style-012-4.3" class="primary">
|
||||
<td><strong>
|
||||
<a href="outline-style-002.htm">outline-style-002</a></strong></td>
|
||||
<td><a href="reference/outline-style-002-ref.htm">=</a> </td>
|
||||
<a href="outline-style-012.htm">outline-style-012</a></strong></td>
|
||||
<td><a href="reference/outline-style-012-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>outline-style - inherit (basic)
|
||||
<ul class="assert">
|
||||
|
@ -100,10 +100,10 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="outline-style-003-4.3" class="primary">
|
||||
<tr id="outline-style-013-4.3" class="primary">
|
||||
<td><strong>
|
||||
<a href="outline-style-003.htm">outline-style-003</a></strong></td>
|
||||
<td><a href="reference/outline-style-003-ref.htm">=</a> </td>
|
||||
<a href="outline-style-013.htm">outline-style-013</a></strong></td>
|
||||
<td><a href="reference/outline-style-013-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>outline-style - dashed (basic)
|
||||
<ul class="assert">
|
||||
|
@ -111,10 +111,10 @@
|
|||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="outline-style-004-4.3" class="primary">
|
||||
<tr id="outline-style-014-4.3" class="primary">
|
||||
<td><strong>
|
||||
<a href="outline-style-004.htm">outline-style-004</a></strong></td>
|
||||
<td><a href="reference/outline-style-004-ref.htm">=</a> </td>
|
||||
<a href="outline-style-014.htm">outline-style-014</a></strong></td>
|
||||
<td><a href="reference/outline-style-014-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>outline-style - double (basic)
|
||||
<ul class="assert">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<body>
|
||||
|
||||
<h1>CSS Basic User Interface Module Level 3 CR Test Suite</h1>
|
||||
<h2>Resizing & Overflow (11 tests)</h2>
|
||||
<h2>Resizing & Overflow (12 tests)</h2>
|
||||
<table width="100%">
|
||||
<col id="test-column">
|
||||
<col id="refs-column">
|
||||
|
@ -126,7 +126,18 @@
|
|||
<tr><th colspan="4" scope="rowgroup">
|
||||
<a href="#s5.2">+</a>
|
||||
<a href="http://www.w3.org/TR/css3-ui/#text-overflow">5.2 Overflow Ellipsis: the text-overflow property</a></th></tr>
|
||||
<!-- 4 tests -->
|
||||
<!-- 5 tests -->
|
||||
<tr id="text-overflow-5.2" class="primary ahem font">
|
||||
<td><strong>
|
||||
<a href="text-overflow.htm">text-overflow</a></strong></td>
|
||||
<td><a href="reference/text-overflow-ref.htm">=</a> </td>
|
||||
<td><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="font" title="Requires a special font">Font</abbr></td>
|
||||
<td>text-overflow - ellipsis
|
||||
<ul class="assert">
|
||||
<li>'text-overflow:ellipsis' renders U+2026 when text is overflowing.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="text-overflow-001-5.2" class="primary">
|
||||
<td><strong>
|
||||
<a href="text-overflow-001.htm">text-overflow-001</a></strong></td>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan">
|
||||
<link href="http://www.w3.org/TR/css3-ui/#outline-style" rel="help" title="7.3. 'outline-style' property">
|
||||
<link href="http://www.w3.org/TR/CSS21/box.html#value-def-border-style" rel="help">
|
||||
<link href="reference/outline-style-001-ref.htm" rel="match">
|
||||
<link href="reference/outline-style-011-ref.htm" rel="match">
|
||||
<meta content="" name="flags">
|
||||
<meta content="Test checks that the outline style is dotted when outline-style set dotted" name="assert">
|
||||
<style>
|
|
@ -5,7 +5,7 @@
|
|||
<link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan">
|
||||
<link href="http://www.w3.org/TR/css3-ui/#outline-style" rel="help" title="7.3. 'outline-style' property">
|
||||
<link href="http://www.w3.org/TR/CSS21/box.html#value-def-border-style" rel="help">
|
||||
<link href="reference/outline-style-002-ref.htm" rel="match">
|
||||
<link href="reference/outline-style-012-ref.htm" rel="match">
|
||||
<meta content="" name="flags">
|
||||
<meta content="Test checks that the sub element outline style is same as parent element outline style when outline-style set inherit" name="assert">
|
||||
<style>
|
|
@ -5,7 +5,7 @@
|
|||
<link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan">
|
||||
<link href="http://www.w3.org/TR/css3-ui/#outline-style" rel="help" title="7.3. 'outline-style' property">
|
||||
<link href="http://www.w3.org/TR/CSS21/box.html#value-def-border-style" rel="help">
|
||||
<link href="reference/outline-style-003-ref.htm" rel="match">
|
||||
<link href="reference/outline-style-013-ref.htm" rel="match">
|
||||
<meta content="" name="flags">
|
||||
<meta content="Test checks that the outline style is dashed when outline-style set dashed" name="assert">
|
||||
<style>
|
|
@ -5,7 +5,7 @@
|
|||
<link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan">
|
||||
<link href="http://www.w3.org/TR/css3-ui/#outline-style" rel="help" title="7.3. 'outline-style' property">
|
||||
<link href="http://www.w3.org/TR/CSS21/box.html#value-def-border-style" rel="help">
|
||||
<link href="reference/outline-style-004-ref.htm" rel="match">
|
||||
<link href="reference/outline-style-014-ref.htm" rel="match">
|
||||
<meta content="" name="flags">
|
||||
<meta content="Test checks that the outline style is two solid lines when outline-style set double" name="assert">
|
||||
<style>
|
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><title>Reference: a black square</title>
|
||||
<style>
|
||||
div { padding:50px; width:50px; height:50px; background:black }
|
||||
</style>
|
||||
</head><body><p>There should be a black square below.</p>
|
||||
<div></div></body></html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSS Reftest Ellipsis Reference</title>
|
||||
<style>
|
||||
div { font-size:10px; }
|
||||
span { font-family:Ahem; font-size:30px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>PREREQUISITE: The font used must have a glyph for the U+2026 character.</p>
|
||||
<p>Test passes if there is <strong>ellipsis</strong> after a black square.</p>
|
||||
<div>
|
||||
<span>A</span>…
|
||||
</div>
|
||||
|
||||
</body></html>
|
|
@ -280,6 +280,14 @@
|
|||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="box-sizing-padding-box-block-001" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="CSS UI: box-sizing:padding-box for a block box">
|
||||
<a href="box-sizing-padding-box-block-001.htm">box-sizing-padding-box-block-001</a></td>
|
||||
<td><a href="reference/box-sizing-padding-box-block-001-ref.htm">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="box-sizing-replaced-001" class="image">
|
||||
<tr>
|
||||
<td rowspan="1" title="Min/Max Height and Width Constraints on Replaced Elements with Box-Sizing">
|
||||
|
@ -344,38 +352,46 @@
|
|||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="outline-style-001" class="">
|
||||
<tbody id="outline-style-011" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="outline-style - dotted (basic)">
|
||||
<a href="outline-style-001.htm">outline-style-001</a></td>
|
||||
<td><a href="reference/outline-style-001-ref.htm">=</a> </td>
|
||||
<a href="outline-style-011.htm">outline-style-011</a></td>
|
||||
<td><a href="reference/outline-style-011-ref.htm">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="outline-style-002" class="">
|
||||
<tbody id="outline-style-012" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="outline-style - inherit (basic)">
|
||||
<a href="outline-style-002.htm">outline-style-002</a></td>
|
||||
<td><a href="reference/outline-style-002-ref.htm">=</a> </td>
|
||||
<a href="outline-style-012.htm">outline-style-012</a></td>
|
||||
<td><a href="reference/outline-style-012-ref.htm">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="outline-style-003" class="">
|
||||
<tbody id="outline-style-013" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="outline-style - dashed (basic)">
|
||||
<a href="outline-style-003.htm">outline-style-003</a></td>
|
||||
<td><a href="reference/outline-style-003-ref.htm">=</a> </td>
|
||||
<a href="outline-style-013.htm">outline-style-013</a></td>
|
||||
<td><a href="reference/outline-style-013-ref.htm">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="outline-style-004" class="">
|
||||
<tbody id="outline-style-014" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="outline-style - double (basic)">
|
||||
<a href="outline-style-004.htm">outline-style-004</a></td>
|
||||
<td><a href="reference/outline-style-004-ref.htm">=</a> </td>
|
||||
<a href="outline-style-014.htm">outline-style-014</a></td>
|
||||
<td><a href="reference/outline-style-014-ref.htm">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="text-overflow" class="ahem font">
|
||||
<tr>
|
||||
<td rowspan="1" title="text-overflow - ellipsis">
|
||||
<a href="text-overflow.htm">text-overflow</a></td>
|
||||
<td><a href="reference/text-overflow-ref.htm">=</a> </td>
|
||||
<td rowspan="1"><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="font" title="Requires a special font">Font</abbr></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="text-overflow-001" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="text-overflow - clip - the text inline content overflows will be broken">
|
||||
|
|
|
@ -31,6 +31,7 @@ box-sizing-border-box-004.htm == reference/box-sizing-border-box-004-ref.htm
|
|||
box-sizing-content-box-001.htm == reference/box-sizing-content-box-001-ref.htm
|
||||
box-sizing-content-box-002.htm == reference/box-sizing-content-box-002-ref.htm
|
||||
box-sizing-content-box-003.htm == reference/box-sizing-content-box-003-ref.htm
|
||||
box-sizing-padding-box-block-001.htm == reference/box-sizing-padding-box-block-001-ref.htm
|
||||
box-sizing-replaced-001.htm == reference/box-sizing-replaced-001-ref.htm
|
||||
box-sizing-replaced-002.htm == reference/box-sizing-replaced-002-ref.htm
|
||||
box-sizing-replaced-003.htm == reference/box-sizing-replaced-003-ref.htm
|
||||
|
@ -39,10 +40,11 @@ outline-002.htm == reference/ref-filled-green-100px-square.htm
|
|||
outline-color-001.htm == reference/ref-filled-green-100px-square.htm
|
||||
outline-offset.htm == reference/outline-offset.htm
|
||||
outline-offset-001.htm == reference/ref-filled-green-100px-square.htm
|
||||
outline-style-001.htm == reference/outline-style-001-ref.htm
|
||||
outline-style-002.htm == reference/outline-style-002-ref.htm
|
||||
outline-style-003.htm == reference/outline-style-003-ref.htm
|
||||
outline-style-004.htm == reference/outline-style-004-ref.htm
|
||||
outline-style-011.htm == reference/outline-style-011-ref.htm
|
||||
outline-style-012.htm == reference/outline-style-012-ref.htm
|
||||
outline-style-013.htm == reference/outline-style-013-ref.htm
|
||||
outline-style-014.htm == reference/outline-style-014-ref.htm
|
||||
text-overflow.htm == reference/text-overflow-ref.htm
|
||||
text-overflow-001.htm == reference/text-overflow-001-ref.htm
|
||||
text-overflow-002.htm == reference/text-overflow-002-ref.htm
|
||||
text-overflow-003.htm == reference/text-overflow-001-ref.htm
|
||||
|
|
28
tests/wpt/css-tests/css-ui-3_dev/html/text-overflow.htm
Normal file
28
tests/wpt/css-tests/css-ui-3_dev/html/text-overflow.htm
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><title>CSS Basic User Interface Test: text-overflow - ellipsis</title>
|
||||
<link href="mailto:yreenchan@gmail.com" rel="author" title="YreenChan">
|
||||
<link href="mailto:simonp@opera.com" rel="reviewer" title="Simon Pieters">
|
||||
<link href="mailto:lstorset@opera.com" rel="reviewer" title="Leif Arne Storset">
|
||||
<link href="http://www.w3.org/TR/css3-ui/#text-overflow" rel="help" title="8.2. the 'text-overflow' property">
|
||||
<link href="reference/text-overflow-ref.htm" rel="match">
|
||||
<meta content="font ahem" name="flags">
|
||||
<meta content="'text-overflow:ellipsis' renders U+2026 when text is overflowing." name="assert">
|
||||
<style>
|
||||
div {
|
||||
font-size:10px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
width: 50px;
|
||||
}
|
||||
span { font-family: Ahem; font-size:30px; }
|
||||
</style>
|
||||
</head><body>
|
||||
<p>PREREQUISITE: The font used must have a glyph for the U+2026 character.</p>
|
||||
<p>Test passes if there is <strong>ellipsis</strong> after a black square.</p>
|
||||
<div>
|
||||
<span>AAAA</span>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -32,7 +32,7 @@
|
|||
<tbody id="s3">
|
||||
<tr><th><a href="chapter-3.htm">Chapter 3 -
|
||||
Box Model addition</a></th>
|
||||
<td>(35 Tests)</td></tr>
|
||||
<td>(36 Tests)</td></tr>
|
||||
</tbody>
|
||||
<tbody id="s4">
|
||||
<tr><th><a href="chapter-4.htm">Chapter 4 -
|
||||
|
@ -42,7 +42,7 @@
|
|||
<tbody id="s5">
|
||||
<tr><th><a href="chapter-5.htm">Chapter 5 -
|
||||
Resizing & Overflow</a></th>
|
||||
<td>(11 Tests)</td></tr>
|
||||
<td>(12 Tests)</td></tr>
|
||||
</tbody>
|
||||
<tbody id="s6">
|
||||
<tr><th><a href="chapter-6.htm">Chapter 6 -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue