diff options
author | Ms2ger <Ms2ger@gmail.com> | 2015-10-06 12:33:05 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2015-10-06 17:04:25 +0200 |
commit | 145aea3eeb48dcd48b5fe475d011b704dc46030c (patch) | |
tree | f333a4cda84b9a4d285d5c2e3a7eb77889e2aad1 /tests/wpt/css-tests/css-ui-3_dev | |
parent | ad94ef5a96e954f1a660cdd3a2ff03e0787f690b (diff) | |
download | servo-145aea3eeb48dcd48b5fe475d011b704dc46030c.tar.gz servo-145aea3eeb48dcd48b5fe475d011b704dc46030c.zip |
Update CSS tests to revision 7a87ef71fc579e52d3438e009107aa442bc4021b
Diffstat (limited to 'tests/wpt/css-tests/css-ui-3_dev')
58 files changed, 425 insertions, 126 deletions
diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/box-sizing-padding-box-block-001.htm b/tests/wpt/css-tests/css-ui-3_dev/html/box-sizing-padding-box-block-001.htm new file mode 100644 index 00000000000..e592db2be2e --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/html/box-sizing-padding-box-block-001.htm @@ -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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/chapter-3.htm b/tests/wpt/css-tests/css-ui-3_dev/html/chapter-3.htm index 5c0faf0b0a9..19535ff7499 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/chapter-3.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/chapter-3.htm @@ -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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/chapter-4.htm b/tests/wpt/css-tests/css-ui-3_dev/html/chapter-4.htm index 321970657f7..a0f9fe5a702 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/chapter-4.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/chapter-4.htm @@ -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"> diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/chapter-5.htm b/tests/wpt/css-tests/css-ui-3_dev/html/chapter-5.htm index 69ab050dd00..3111a78ca80 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/chapter-5.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/chapter-5.htm @@ -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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-001.htm b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-011.htm index 9c2265131fd..1aeac780ee1 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-001.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-011.htm @@ -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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-002.htm b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-012.htm index e1dd74648ee..14234606f15 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-002.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-012.htm @@ -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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-003.htm b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-013.htm index ae33c18e796..41e41723eac 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-003.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-013.htm @@ -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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-004.htm b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-014.htm index 90f920acc4f..d344800b5e9 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-004.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/outline-style-014.htm @@ -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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/box-sizing-padding-box-block-001-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/box-sizing-padding-box-block-001-ref.htm new file mode 100644 index 00000000000..96f7d21a9a8 --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/html/reference/box-sizing-padding-box-block-001-ref.htm @@ -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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-001-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-011-ref.htm index 07affa566e5..07affa566e5 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-001-ref.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-011-ref.htm diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-002-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-012-ref.htm index ebad6d9b9b4..ebad6d9b9b4 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-002-ref.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-012-ref.htm diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-003-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-013-ref.htm index c40631f0d4a..c40631f0d4a 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-003-ref.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-013-ref.htm diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-004-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-014-ref.htm index 947a4882cbb..947a4882cbb 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-004-ref.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/reference/outline-style-014-ref.htm diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reference/text-overflow-ref.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reference/text-overflow-ref.htm new file mode 100644 index 00000000000..637aca9a5fc --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/html/reference/text-overflow-ref.htm @@ -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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reftest-toc.htm b/tests/wpt/css-tests/css-ui-3_dev/html/reftest-toc.htm index 8873dcac45c..5551593580d 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/reftest-toc.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/reftest-toc.htm @@ -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"> diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/reftest.list b/tests/wpt/css-tests/css-ui-3_dev/html/reftest.list index dd93eaf6c0c..c3d46060cf5 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/reftest.list +++ b/tests/wpt/css-tests/css-ui-3_dev/html/reftest.list @@ -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 diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/text-overflow.htm b/tests/wpt/css-tests/css-ui-3_dev/html/text-overflow.htm new file mode 100644 index 00000000000..dafad976254 --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/html/text-overflow.htm @@ -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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/html/toc.htm b/tests/wpt/css-tests/css-ui-3_dev/html/toc.htm index 6f851b3ab28..a79c6fdb03b 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/html/toc.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/html/toc.htm @@ -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 - diff --git a/tests/wpt/css-tests/css-ui-3_dev/implementation-report-TEMPLATE.data b/tests/wpt/css-tests/css-ui-3_dev/implementation-report-TEMPLATE.data index bb19fbadc6b..b59173fa97a 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/implementation-report-TEMPLATE.data +++ b/tests/wpt/css-tests/css-ui-3_dev/implementation-report-TEMPLATE.data @@ -67,6 +67,8 @@ html/box-sizing-content-box-002.htm 51e63ae5f8b3a40e56096e7daa86265f8684e9a8 ? xhtml1/box-sizing-content-box-002.xht 51e63ae5f8b3a40e56096e7daa86265f8684e9a8 ? html/box-sizing-content-box-003.htm 397bec8981e201e663ea97b4b265aa45fff08bd5 ? xhtml1/box-sizing-content-box-003.xht 397bec8981e201e663ea97b4b265aa45fff08bd5 ? +html/box-sizing-padding-box-block-001.htm 4e8dd583111bef378efaa8d0cf705160aeb90481 ? +xhtml1/box-sizing-padding-box-block-001.xht 4e8dd583111bef378efaa8d0cf705160aeb90481 ? html/box-sizing-replaced-001.htm a8e28589639906e9ad2c23f3875a1b84b9edc2c3 ? xhtml1/box-sizing-replaced-001.xht a8e28589639906e9ad2c23f3875a1b84b9edc2c3 ? html/box-sizing-replaced-002.htm d4148a5cae7298ba17c8257c328e4f622edfc689 ? @@ -371,14 +373,14 @@ html/outline-offset-001.htm 465df8192fe5ee54660d205d9d3f271ef84c1788 ? xhtml1/outline-offset-001.xht 465df8192fe5ee54660d205d9d3f271ef84c1788 ? html/outline-offset.htm 21bd9169e501282f6ddc905cf0b066f9dd730e5b ? xhtml1/outline-offset.xht 21bd9169e501282f6ddc905cf0b066f9dd730e5b ? -html/outline-style-001.htm 9b6764e372cceab67dda037ff6138d0e911b1dec ? -xhtml1/outline-style-001.xht 9b6764e372cceab67dda037ff6138d0e911b1dec ? -html/outline-style-002.htm 695fbf49c18c77abfca3e5c42c9359ab9afdf1f1 ? -xhtml1/outline-style-002.xht 695fbf49c18c77abfca3e5c42c9359ab9afdf1f1 ? -html/outline-style-003.htm c26ebdb81d867b5d1d8ff893a632b8c738c934b7 ? -xhtml1/outline-style-003.xht c26ebdb81d867b5d1d8ff893a632b8c738c934b7 ? -html/outline-style-004.htm 7027b5a477a5790afef0521288df069305856abc ? -xhtml1/outline-style-004.xht 7027b5a477a5790afef0521288df069305856abc ? +html/outline-style-011.htm 23252c963318135cd2b9a9591741c77f5372fb79 ? +xhtml1/outline-style-011.xht 23252c963318135cd2b9a9591741c77f5372fb79 ? +html/outline-style-012.htm 0c82cbd1d2692d211242ea93142a58407ccb4b03 ? +xhtml1/outline-style-012.xht 0c82cbd1d2692d211242ea93142a58407ccb4b03 ? +html/outline-style-013.htm d5914561233854207699be98d528a8be2dbf0bf2 ? +xhtml1/outline-style-013.xht d5914561233854207699be98d528a8be2dbf0bf2 ? +html/outline-style-014.htm 3e3ee5a78b0992797f164d84f553cf5b2edf26a7 ? +xhtml1/outline-style-014.xht 3e3ee5a78b0992797f164d84f553cf5b2edf26a7 ? html/resize-001.htm c5ba9263cd9037be70dfbe252816bdf56d94d8d5 ? xhtml1/resize-001.xht c5ba9263cd9037be70dfbe252816bdf56d94d8d5 ? html/resize-002.htm 5cb1f8083e06e1cdf3a2112feea46a60f6d7d89f ? @@ -402,3 +404,5 @@ html/text-overflow-003.htm dac3b5119c015760b3e5eb87122680eca10725c0 ? xhtml1/text-overflow-003.xht dac3b5119c015760b3e5eb87122680eca10725c0 ? html/text-overflow-004.htm 5b424a1f63abc03cd51ca922704756c93961d2eb ? xhtml1/text-overflow-004.xht 5b424a1f63abc03cd51ca922704756c93961d2eb ? +html/text-overflow.htm c562ce91178f5299098b5a5340f4aa188abf51e2 ? +xhtml1/text-overflow.xht c562ce91178f5299098b5a5340f4aa188abf51e2 ? diff --git a/tests/wpt/css-tests/css-ui-3_dev/index.htm b/tests/wpt/css-tests/css-ui-3_dev/index.htm index 8486ca5767f..225fe117d7b 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/index.htm +++ b/tests/wpt/css-tests/css-ui-3_dev/index.htm @@ -141,6 +141,7 @@ <li>jy-jeung</li> <li>Scott Johnson</li> <li>Shiyou Tan</li> + <li>YreenChan</li> </ul> </body> diff --git a/tests/wpt/css-tests/css-ui-3_dev/index.xht b/tests/wpt/css-tests/css-ui-3_dev/index.xht index cb85387fb56..84645dd886e 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/index.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/index.xht @@ -141,6 +141,7 @@ <li>jy-jeung</li> <li>Scott Johnson</li> <li>Shiyou Tan</li> + <li>YreenChan</li> </ul> </body> diff --git a/tests/wpt/css-tests/css-ui-3_dev/testinfo.data b/tests/wpt/css-tests/css-ui-3_dev/testinfo.data index 29642183e88..1da365c737e 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/testinfo.data +++ b/tests/wpt/css-tests/css-ui-3_dev/testinfo.data @@ -31,6 +31,7 @@ box-sizing-border-box-004 reference/box-sizing-border-box-004-ref Box Sizing - B box-sizing-content-box-001 reference/box-sizing-content-box-001-ref Box Sizing - Content-Box with specified width/height http://www.w3.org/TR/css3-ui/#box-sizing 4b3056f655bbe35540eadfe3888d48f1961dfafc `Scott Johnson`<mailto:sjohnson@mozilla.com> box-sizing: content-box should make the element's (percentage) width be the distance from the left content edge to the right content edge and the height be the distance from the top content edge to the bottom content edge. box-sizing-content-box-002 reference/box-sizing-content-box-002-ref Box Sizing - Content-Box with specified width/height http://www.w3.org/TR/css3-ui/#box-sizing 51e63ae5f8b3a40e56096e7daa86265f8684e9a8 `Scott Johnson`<mailto:sjohnson@mozilla.com> box-sizing: content-box should make the element's (calc) width be the distance from the left content edge to the right content edge and the height be the distance from the top content edge to the bottom content edge. box-sizing-content-box-003 reference/box-sizing-content-box-003-ref Box Sizing - Content-Box with min/max width/height http://www.w3.org/TR/css3-ui/#box-sizing 397bec8981e201e663ea97b4b265aa45fff08bd5 `Scott Johnson`<mailto:sjohnson@mozilla.com> box-sizing: content-box should make the element's (percentage) width be the distance from the left content edge to the right content edge and the height be the distance from the top content edge to the bottom content edge. +box-sizing-padding-box-block-001 reference/box-sizing-padding-box-block-001-ref CSS UI: box-sizing:padding-box for a block box http://www.w3.org/TR/css3-ui/#box-sizing 4e8dd583111bef378efaa8d0cf705160aeb90481 box-sizing-replaced-001 reference/box-sizing-replaced-001-ref Min/Max Height and Width Constraints on Replaced Elements with Box-Sizing image http://www.w3.org/TR/css3-ui/#box-sizing a8e28589639906e9ad2c23f3875a1b84b9edc2c3 `Elika J. Etemad`<http://fantasai.inkedblade.net/contact>,`Scott Johnson`<mailto:sjohnson@mozilla.com> All images should be sized at 75px x 75px, with 5px of padding around each. box-sizing-replaced-002 reference/box-sizing-replaced-002-ref Min/Max Height and Width Constraints on Replaced Elements with Box-Sizing image http://www.w3.org/TR/css3-ui/#box-sizing d4148a5cae7298ba17c8257c328e4f622edfc689 `Elika J. Etemad`<http://fantasai.inkedblade.net/contact>,`Scott Johnson`<mailto:sjohnson@mozilla.com> All images should be sized at 75px x 75px, with 5px of padding and 5px of blue border around each. box-sizing-replaced-003 reference/box-sizing-replaced-003-ref Min/Max Height and Width Constraints on Replaced Elements with Box-Sizing image http://www.w3.org/TR/css3-ui/#box-sizing 1d2967d8d4d8b4ff72c7e533c2c0edc187e7a992 `Elika J. Etemad`<http://fantasai.inkedblade.net/contact>,`Scott Johnson`<mailto:sjohnson@mozilla.com> All images should be sized at 75px x 75px. @@ -183,10 +184,10 @@ outline-002 reference/ref-filled-green-100px-square outline - inherit (basic) h outline-color-001 reference/ref-filled-green-100px-square outline-color - inherit (basic) http://www.w3.org/TR/css3-ui/#outline-color a776bdc125fc5dcc83d0cfb361d9d19cc9b3eba4 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the color of sub element outline is same as the color of parent element outline when outline-color set inherit outline-offset reference/outline-offset ttwf-reftest-outline-offset-ref http://www.w3.org/TR/css3-ui/#outline-offset 21bd9169e501282f6ddc905cf0b066f9dd730e5b `jy-jeung`<mailto:kein119@naver.com> outline-offset-001 reference/ref-filled-green-100px-square outline-offset - length (basic) http://www.w3.org/TR/css3-ui/#outline-offset 465df8192fe5ee54660d205d9d3f271ef84c1788 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the outline-offset keeps spacing between outline and element content -outline-style-001 reference/outline-style-001-ref outline-style - dotted (basic) http://www.w3.org/TR/css3-ui/#outline-style,http://www.w3.org/TR/CSS21/box.html#value-def-border-style 9b6764e372cceab67dda037ff6138d0e911b1dec `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the outline style is dotted when outline-style set dotted -outline-style-002 reference/outline-style-002-ref outline-style - inherit (basic) http://www.w3.org/TR/css3-ui/#outline-style,http://www.w3.org/TR/CSS21/box.html#value-def-border-style 695fbf49c18c77abfca3e5c42c9359ab9afdf1f1 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the sub element outline style is same as parent element outline style when outline-style set inherit -outline-style-003 reference/outline-style-003-ref outline-style - dashed (basic) http://www.w3.org/TR/css3-ui/#outline-style,http://www.w3.org/TR/CSS21/box.html#value-def-border-style c26ebdb81d867b5d1d8ff893a632b8c738c934b7 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the outline style is dashed when outline-style set dashed -outline-style-004 reference/outline-style-004-ref outline-style - double (basic) http://www.w3.org/TR/css3-ui/#outline-style,http://www.w3.org/TR/CSS21/box.html#value-def-border-style 7027b5a477a5790afef0521288df069305856abc `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the outline style is two solid lines when outline-style set double +outline-style-011 reference/outline-style-011-ref outline-style - dotted (basic) http://www.w3.org/TR/css3-ui/#outline-style,http://www.w3.org/TR/CSS21/box.html#value-def-border-style 23252c963318135cd2b9a9591741c77f5372fb79 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the outline style is dotted when outline-style set dotted +outline-style-012 reference/outline-style-012-ref outline-style - inherit (basic) http://www.w3.org/TR/css3-ui/#outline-style,http://www.w3.org/TR/CSS21/box.html#value-def-border-style 0c82cbd1d2692d211242ea93142a58407ccb4b03 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the sub element outline style is same as parent element outline style when outline-style set inherit +outline-style-013 reference/outline-style-013-ref outline-style - dashed (basic) http://www.w3.org/TR/css3-ui/#outline-style,http://www.w3.org/TR/CSS21/box.html#value-def-border-style d5914561233854207699be98d528a8be2dbf0bf2 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the outline style is dashed when outline-style set dashed +outline-style-014 reference/outline-style-014-ref outline-style - double (basic) http://www.w3.org/TR/css3-ui/#outline-style,http://www.w3.org/TR/CSS21/box.html#value-def-border-style 3e3ee5a78b0992797f164d84f553cf5b2edf26a7 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the outline style is two solid lines when outline-style set double resize-001 resize - both - both width and height adjusted interact http://www.w3.org/TR/css3-ui/#resize c5ba9263cd9037be70dfbe252816bdf56d94d8d5 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that both width and height adjusted when resize set both. resize-002 resize - horizontal - only the width can be adjusted interact http://www.w3.org/TR/css3-ui/#resize 5cb1f8083e06e1cdf3a2112feea46a60f6d7d89f `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that only the width of element can be adjusted when resize set horizontal resize-003 resize - inherit - the resize property inherits parent element interact http://www.w3.org/TR/css3-ui/#resize 8fab7afb74c7eb459362f54ebdcaa0f17e7c62d8 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the resize element inherits parent element @@ -195,6 +196,7 @@ resize-005 resize - none - neither width nor height can be adjusted interact ht resize-006 resize - vertical - only the height can be adjusted interact http://www.w3.org/TR/css3-ui/#resize d65e14169ca073207b43fe4145e83c831b77a067 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that only the height can be adjusted when resize set vertical resize-007 resize - invalid without overflow property interact http://www.w3.org/TR/css3-ui/#resize c0e4494f6e70369f227ec265ff2c14fb29323e66 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that resize property is invalid without overflow property select-cursor-001-manual cursor property and select element HTMLonly,interact https://drafts.csswg.org/css-ui-3/#cursor,https://drafts.csswg.org/css2/ui.html#cursor-props a28f3026bed183a42b3255b9e8983a9b0addbdec `Chris Rebert`<http://chrisrebert.com> Hovering the pointer over a select menu on top of an element with a cursor set should not display said cursor +text-overflow reference/text-overflow-ref text-overflow - ellipsis ahem,font http://www.w3.org/TR/css3-ui/#text-overflow c562ce91178f5299098b5a5340f4aa188abf51e2 `YreenChan`<mailto:yreenchan@gmail.com> 'text-overflow:ellipsis' renders U+2026 when text is overflowing. text-overflow-001 reference/text-overflow-001-ref text-overflow - clip - the text inline content overflows will be broken http://www.w3.org/TR/css3-ui/#text-overflow 18b85a5682895eec2a93d551dbe9d88d014f65b3 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that the inline content that overflows will be clipped. Characters may be only partially rendered when text-overflow set clip text-overflow-002 reference/text-overflow-002-ref text-overflow - ellipsis - the broken textual content instead of ellipsis http://www.w3.org/TR/css3-ui/#text-overflow 9f4f4eae59abbf039c8743708235481c12751585 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that an ellipsis (...) is shown instead of overflowing textual content text-overflow-003 reference/text-overflow-001-ref text-overflow - inherit - inherit clip value of parent's text-overflow property http://www.w3.org/TR/css3-ui/#text-overflow dac3b5119c015760b3e5eb87122680eca10725c0 `Intel`<http://www.intel.com/>,`Shiyou Tan`<mailto:shiyoux.tan@intel.com> Test checks that text-overflow inherits the parent' clip value when text-overflow set inherit diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/box-sizing-padding-box-block-001.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/box-sizing-padding-box-block-001.xht new file mode 100644 index 00000000000..dc4535474bd --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/box-sizing-padding-box-block-001.xht @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><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.xht" 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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-3.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-3.xht index 8d22dedd47e..aca9807ef9b 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-3.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-3.xht @@ -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> <col id="refs-column"></col> @@ -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.xht">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.xht">box-sizing-padding-box-block-001</a></strong></td> + <td><a href="reference/box-sizing-padding-box-block-001-ref.xht">=</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.xht">box-sizing-replaced-001</a></strong></td> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-4.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-4.xht index fe5180869db..d04a3d9dd9d 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-4.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-4.xht @@ -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.xht">outline-style-001</a></strong></td> - <td><a href="reference/outline-style-001-ref.xht">=</a> </td> + <a href="outline-style-011.xht">outline-style-011</a></strong></td> + <td><a href="reference/outline-style-011-ref.xht">=</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.xht">outline-style-002</a></strong></td> - <td><a href="reference/outline-style-002-ref.xht">=</a> </td> + <a href="outline-style-012.xht">outline-style-012</a></strong></td> + <td><a href="reference/outline-style-012-ref.xht">=</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.xht">outline-style-003</a></strong></td> - <td><a href="reference/outline-style-003-ref.xht">=</a> </td> + <a href="outline-style-013.xht">outline-style-013</a></strong></td> + <td><a href="reference/outline-style-013-ref.xht">=</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.xht">outline-style-004</a></strong></td> - <td><a href="reference/outline-style-004-ref.xht">=</a> </td> + <a href="outline-style-014.xht">outline-style-014</a></strong></td> + <td><a href="reference/outline-style-014-ref.xht">=</a> </td> <td></td> <td>outline-style - double (basic) <ul class="assert"> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-5.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-5.xht index 710e3a1c7a0..70d32aa7d25 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-5.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-5.xht @@ -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> <col id="refs-column"></col> @@ -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.xht">text-overflow</a></strong></td> + <td><a href="reference/text-overflow-ref.xht">=</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.xht">text-overflow-001</a></strong></td> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-001.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-011.xht index 8788a1fdca0..1b80e514f9e 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-001.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-011.xht @@ -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.xht" rel="match" /> +<link href="reference/outline-style-011-ref.xht" rel="match" /> <meta content="" name="flags" /> <meta content="Test checks that the outline style is dotted when outline-style set dotted" name="assert" /> <style> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-002.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-012.xht index 35fc4d08356..563f6c9e3bf 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-002.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-012.xht @@ -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.xht" rel="match" /> +<link href="reference/outline-style-012-ref.xht" 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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-003.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-013.xht index 291672aaa54..a8bd8008cf8 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-003.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-013.xht @@ -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.xht" rel="match" /> +<link href="reference/outline-style-013-ref.xht" rel="match" /> <meta content="" name="flags" /> <meta content="Test checks that the outline style is dashed when outline-style set dashed" name="assert" /> <style> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-004.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-014.xht index b505647fbab..78ff747d5fa 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-004.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-014.xht @@ -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.xht" rel="match" /> +<link href="reference/outline-style-014-ref.xht" 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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/box-sizing-padding-box-block-001-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/box-sizing-padding-box-block-001-ref.xht new file mode 100644 index 00000000000..e8dc69ca315 --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/box-sizing-padding-box-block-001-ref.xht @@ -0,0 +1,7 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-001-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-011-ref.xht index 7cdfc304407..7cdfc304407 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-001-ref.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-011-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-002-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-012-ref.xht index 67e03424d7d..67e03424d7d 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-002-ref.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-012-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-003-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-013-ref.xht index df3c99c1a37..df3c99c1a37 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-003-ref.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-013-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-004-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-014-ref.xht index efc3c0cbd93..efc3c0cbd93 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-004-ref.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-014-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/text-overflow-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/text-overflow-ref.xht new file mode 100644 index 00000000000..dcf91a5cee6 --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/text-overflow-ref.xht @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest-toc.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest-toc.xht index 30fef4e1b0e..27f13acd8e7 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest-toc.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest-toc.xht @@ -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.xht">box-sizing-padding-box-block-001</a></td> + <td><a href="reference/box-sizing-padding-box-block-001-ref.xht">=</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.xht">outline-style-001</a></td> - <td><a href="reference/outline-style-001-ref.xht">=</a> </td> + <a href="outline-style-011.xht">outline-style-011</a></td> + <td><a href="reference/outline-style-011-ref.xht">=</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.xht">outline-style-002</a></td> - <td><a href="reference/outline-style-002-ref.xht">=</a> </td> + <a href="outline-style-012.xht">outline-style-012</a></td> + <td><a href="reference/outline-style-012-ref.xht">=</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.xht">outline-style-003</a></td> - <td><a href="reference/outline-style-003-ref.xht">=</a> </td> + <a href="outline-style-013.xht">outline-style-013</a></td> + <td><a href="reference/outline-style-013-ref.xht">=</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.xht">outline-style-004</a></td> - <td><a href="reference/outline-style-004-ref.xht">=</a> </td> + <a href="outline-style-014.xht">outline-style-014</a></td> + <td><a href="reference/outline-style-014-ref.xht">=</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.xht">text-overflow</a></td> + <td><a href="reference/text-overflow-ref.xht">=</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"> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest.list b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest.list index e971d749b2e..40d3e2ccd09 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest.list +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest.list @@ -31,6 +31,7 @@ box-sizing-border-box-004.xht == reference/box-sizing-border-box-004-ref.xht box-sizing-content-box-001.xht == reference/box-sizing-content-box-001-ref.xht box-sizing-content-box-002.xht == reference/box-sizing-content-box-002-ref.xht box-sizing-content-box-003.xht == reference/box-sizing-content-box-003-ref.xht +box-sizing-padding-box-block-001.xht == reference/box-sizing-padding-box-block-001-ref.xht box-sizing-replaced-001.xht == reference/box-sizing-replaced-001-ref.xht box-sizing-replaced-002.xht == reference/box-sizing-replaced-002-ref.xht box-sizing-replaced-003.xht == reference/box-sizing-replaced-003-ref.xht @@ -39,10 +40,11 @@ outline-002.xht == reference/ref-filled-green-100px-square.xht outline-color-001.xht == reference/ref-filled-green-100px-square.xht outline-offset.xht == reference/outline-offset.xht outline-offset-001.xht == reference/ref-filled-green-100px-square.xht -outline-style-001.xht == reference/outline-style-001-ref.xht -outline-style-002.xht == reference/outline-style-002-ref.xht -outline-style-003.xht == reference/outline-style-003-ref.xht -outline-style-004.xht == reference/outline-style-004-ref.xht +outline-style-011.xht == reference/outline-style-011-ref.xht +outline-style-012.xht == reference/outline-style-012-ref.xht +outline-style-013.xht == reference/outline-style-013-ref.xht +outline-style-014.xht == reference/outline-style-014-ref.xht +text-overflow.xht == reference/text-overflow-ref.xht text-overflow-001.xht == reference/text-overflow-001-ref.xht text-overflow-002.xht == reference/text-overflow-002-ref.xht text-overflow-003.xht == reference/text-overflow-001-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/text-overflow.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/text-overflow.xht new file mode 100644 index 00000000000..440ebded222 --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/text-overflow.xht @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><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.xht" 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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/toc.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/toc.xht index de919d3e7be..5450dd48dc5 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/toc.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1/toc.xht @@ -32,7 +32,7 @@ <tbody id="s3"> <tr><th><a href="chapter-3.xht">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.xht">Chapter 4 - @@ -42,7 +42,7 @@ <tbody id="s5"> <tr><th><a href="chapter-5.xht">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.xht">Chapter 6 - diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/box-sizing-padding-box-block-001.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/box-sizing-padding-box-block-001.xht new file mode 100644 index 00000000000..dc4535474bd --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/box-sizing-padding-box-block-001.xht @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><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.xht" 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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-3.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-3.xht index 8d22dedd47e..aca9807ef9b 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-3.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-3.xht @@ -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> <col id="refs-column"></col> @@ -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.xht">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.xht">box-sizing-padding-box-block-001</a></strong></td> + <td><a href="reference/box-sizing-padding-box-block-001-ref.xht">=</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.xht">box-sizing-replaced-001</a></strong></td> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-4.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-4.xht index fe5180869db..d04a3d9dd9d 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-4.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-4.xht @@ -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.xht">outline-style-001</a></strong></td> - <td><a href="reference/outline-style-001-ref.xht">=</a> </td> + <a href="outline-style-011.xht">outline-style-011</a></strong></td> + <td><a href="reference/outline-style-011-ref.xht">=</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.xht">outline-style-002</a></strong></td> - <td><a href="reference/outline-style-002-ref.xht">=</a> </td> + <a href="outline-style-012.xht">outline-style-012</a></strong></td> + <td><a href="reference/outline-style-012-ref.xht">=</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.xht">outline-style-003</a></strong></td> - <td><a href="reference/outline-style-003-ref.xht">=</a> </td> + <a href="outline-style-013.xht">outline-style-013</a></strong></td> + <td><a href="reference/outline-style-013-ref.xht">=</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.xht">outline-style-004</a></strong></td> - <td><a href="reference/outline-style-004-ref.xht">=</a> </td> + <a href="outline-style-014.xht">outline-style-014</a></strong></td> + <td><a href="reference/outline-style-014-ref.xht">=</a> </td> <td></td> <td>outline-style - double (basic) <ul class="assert"> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-5.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-5.xht index 710e3a1c7a0..70d32aa7d25 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-5.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/chapter-5.xht @@ -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> <col id="refs-column"></col> @@ -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.xht">text-overflow</a></strong></td> + <td><a href="reference/text-overflow-ref.xht">=</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.xht">text-overflow-001</a></strong></td> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-001.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-011.xht index 8788a1fdca0..1b80e514f9e 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-001.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-011.xht @@ -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.xht" rel="match" /> +<link href="reference/outline-style-011-ref.xht" rel="match" /> <meta content="" name="flags" /> <meta content="Test checks that the outline style is dotted when outline-style set dotted" name="assert" /> <style> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-002.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-012.xht index 35fc4d08356..563f6c9e3bf 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-002.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-012.xht @@ -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.xht" rel="match" /> +<link href="reference/outline-style-012-ref.xht" 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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-003.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-013.xht index 291672aaa54..a8bd8008cf8 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-003.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-013.xht @@ -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.xht" rel="match" /> +<link href="reference/outline-style-013-ref.xht" rel="match" /> <meta content="" name="flags" /> <meta content="Test checks that the outline style is dashed when outline-style set dashed" name="assert" /> <style> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-004.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-014.xht index b505647fbab..78ff747d5fa 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-004.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/outline-style-014.xht @@ -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.xht" rel="match" /> +<link href="reference/outline-style-014-ref.xht" 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> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/box-sizing-padding-box-block-001-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/box-sizing-padding-box-block-001-ref.xht new file mode 100644 index 00000000000..e8dc69ca315 --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/box-sizing-padding-box-block-001-ref.xht @@ -0,0 +1,7 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-001-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-011-ref.xht index 7cdfc304407..7cdfc304407 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-001-ref.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-011-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-002-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-012-ref.xht index 67e03424d7d..67e03424d7d 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-002-ref.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-012-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-003-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-013-ref.xht index df3c99c1a37..df3c99c1a37 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-003-ref.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-013-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-004-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-014-ref.xht index efc3c0cbd93..efc3c0cbd93 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-004-ref.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/outline-style-014-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/text-overflow-ref.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/text-overflow-ref.xht new file mode 100644 index 00000000000..dcf91a5cee6 --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reference/text-overflow-ref.xht @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest-toc.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest-toc.xht index 30fef4e1b0e..27f13acd8e7 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest-toc.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest-toc.xht @@ -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.xht">box-sizing-padding-box-block-001</a></td> + <td><a href="reference/box-sizing-padding-box-block-001-ref.xht">=</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.xht">outline-style-001</a></td> - <td><a href="reference/outline-style-001-ref.xht">=</a> </td> + <a href="outline-style-011.xht">outline-style-011</a></td> + <td><a href="reference/outline-style-011-ref.xht">=</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.xht">outline-style-002</a></td> - <td><a href="reference/outline-style-002-ref.xht">=</a> </td> + <a href="outline-style-012.xht">outline-style-012</a></td> + <td><a href="reference/outline-style-012-ref.xht">=</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.xht">outline-style-003</a></td> - <td><a href="reference/outline-style-003-ref.xht">=</a> </td> + <a href="outline-style-013.xht">outline-style-013</a></td> + <td><a href="reference/outline-style-013-ref.xht">=</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.xht">outline-style-004</a></td> - <td><a href="reference/outline-style-004-ref.xht">=</a> </td> + <a href="outline-style-014.xht">outline-style-014</a></td> + <td><a href="reference/outline-style-014-ref.xht">=</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.xht">text-overflow</a></td> + <td><a href="reference/text-overflow-ref.xht">=</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"> diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest.list b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest.list index e971d749b2e..40d3e2ccd09 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest.list +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/reftest.list @@ -31,6 +31,7 @@ box-sizing-border-box-004.xht == reference/box-sizing-border-box-004-ref.xht box-sizing-content-box-001.xht == reference/box-sizing-content-box-001-ref.xht box-sizing-content-box-002.xht == reference/box-sizing-content-box-002-ref.xht box-sizing-content-box-003.xht == reference/box-sizing-content-box-003-ref.xht +box-sizing-padding-box-block-001.xht == reference/box-sizing-padding-box-block-001-ref.xht box-sizing-replaced-001.xht == reference/box-sizing-replaced-001-ref.xht box-sizing-replaced-002.xht == reference/box-sizing-replaced-002-ref.xht box-sizing-replaced-003.xht == reference/box-sizing-replaced-003-ref.xht @@ -39,10 +40,11 @@ outline-002.xht == reference/ref-filled-green-100px-square.xht outline-color-001.xht == reference/ref-filled-green-100px-square.xht outline-offset.xht == reference/outline-offset.xht outline-offset-001.xht == reference/ref-filled-green-100px-square.xht -outline-style-001.xht == reference/outline-style-001-ref.xht -outline-style-002.xht == reference/outline-style-002-ref.xht -outline-style-003.xht == reference/outline-style-003-ref.xht -outline-style-004.xht == reference/outline-style-004-ref.xht +outline-style-011.xht == reference/outline-style-011-ref.xht +outline-style-012.xht == reference/outline-style-012-ref.xht +outline-style-013.xht == reference/outline-style-013-ref.xht +outline-style-014.xht == reference/outline-style-014-ref.xht +text-overflow.xht == reference/text-overflow-ref.xht text-overflow-001.xht == reference/text-overflow-001-ref.xht text-overflow-002.xht == reference/text-overflow-002-ref.xht text-overflow-003.xht == reference/text-overflow-001-ref.xht diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/text-overflow.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/text-overflow.xht new file mode 100644 index 00000000000..440ebded222 --- /dev/null +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/text-overflow.xht @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"><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.xht" 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>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/toc.xht b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/toc.xht index de919d3e7be..5450dd48dc5 100644 --- a/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/toc.xht +++ b/tests/wpt/css-tests/css-ui-3_dev/xhtml1print/toc.xht @@ -32,7 +32,7 @@ <tbody id="s3"> <tr><th><a href="chapter-3.xht">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.xht">Chapter 4 - @@ -42,7 +42,7 @@ <tbody id="s5"> <tr><th><a href="chapter-5.xht">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.xht">Chapter 6 - |