aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-ui-3_dev/xhtml1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/css-tests/css-ui-3_dev/xhtml1')
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/box-sizing-padding-box-block-001.xht9
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-3.xht12
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-4.xht24
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/chapter-5.xht15
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-011.xht (renamed from tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-001.xht)2
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-012.xht (renamed from tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-002.xht)2
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-013.xht (renamed from tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-003.xht)2
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-014.xht (renamed from tests/wpt/css-tests/css-ui-3_dev/xhtml1/outline-style-004.xht)2
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/box-sizing-padding-box-block-001-ref.xht7
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-011-ref.xht (renamed from tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-001-ref.xht)0
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-012-ref.xht (renamed from tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-002-ref.xht)0
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-013-ref.xht (renamed from tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-003-ref.xht)0
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-014-ref.xht (renamed from tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/outline-style-004-ref.xht)0
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/reference/text-overflow-ref.xht16
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest-toc.xht40
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/reftest.list10
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/text-overflow.xht28
-rw-r--r--tests/wpt/css-tests/css-ui-3_dev/xhtml1/toc.xht4
18 files changed, 135 insertions, 38 deletions
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/xhtml1/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/xhtml1/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/xhtml1/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/xhtml1/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/xhtml1/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/xhtml1/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 -