aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-text-3_dev/html/reference
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-11-23 13:14:18 +0100
committerMs2ger <Ms2ger@gmail.com>2015-11-24 12:27:39 +0100
commita00f2d6310f42d641151d8aa46aef53338e568cc (patch)
tree9dc83d3b01b7b36edcee465a781245799e2f2f22 /tests/wpt/css-tests/css-text-3_dev/html/reference
parent037cac7353910b0a8b4f1d2daf52b8b79a7cdb0f (diff)
downloadservo-a00f2d6310f42d641151d8aa46aef53338e568cc.tar.gz
servo-a00f2d6310f42d641151d8aa46aef53338e568cc.zip
Update CSS tests to revision e102a993c37a2e0ebd549bc7d5548b006458ab34
Diffstat (limited to 'tests/wpt/css-tests/css-text-3_dev/html/reference')
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/html/reference/support/Ahem.ttfbin0 -> 12480 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/html/reference/support/ahem.css4
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/html/reference/support/block-flow-direction-066-exp-res.pngbin0 -> 4055 bytes
-rw-r--r--tests/wpt/css-tests/css-text-3_dev/html/reference/text-word-spacing-ref.htm27
4 files changed, 31 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/support/Ahem.ttf b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/Ahem.ttf
new file mode 100644
index 00000000000..ac81cb03165
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/Ahem.ttf
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/support/ahem.css b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/ahem.css
new file mode 100644
index 00000000000..82ee466791e
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/ahem.css
@@ -0,0 +1,4 @@
+@font-face {
+ font-family: "Ahem";
+ src: url(./Ahem.ttf);
+}
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/support/block-flow-direction-066-exp-res.png b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/block-flow-direction-066-exp-res.png
new file mode 100644
index 00000000000..d325b15a4cf
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/support/block-flow-direction-066-exp-res.png
Binary files differ
diff --git a/tests/wpt/css-tests/css-text-3_dev/html/reference/text-word-spacing-ref.htm b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-word-spacing-ref.htm
new file mode 100644
index 00000000000..ddd7486c866
--- /dev/null
+++ b/tests/wpt/css-tests/css-text-3_dev/html/reference/text-word-spacing-ref.htm
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html><head><title>CSS Text Test: Word Spacing</title>
+<link href="mailto:nnethercote@mozilla.com" rel="author" title="Nicholas Nethercote">
+<link href="support/ahem.css" type="text/css" rel="stylesheet">
+<meta content="ahem" name="flags">
+<style>
+@font-face {
+ font-family: Ahem;
+ src: url(support/Ahem.ttf);
+}
+/* We use Ahem to avoid very minor differences between the test and the
+ reference that occur with certain font+platform combinations. */
+div { font-family: Ahem; font-size: 20px; }
+span.padoneem { padding-left: 1em; }
+</style>
+</head><body>
+ <p>Test passes if the space between the words starts at zero and increases by
+ one on each subsequent line.</p>
+ <div>ABcDefGhij</div>
+ <div>A Bc Def Ghij</div>
+ <div>A &nbsp;Bc &nbsp;Def &nbsp;Ghij</div>
+ <div>A &nbsp;&nbsp;Bc &nbsp;&nbsp;Def &nbsp;&nbsp;Ghij</div>
+ <div>A &nbsp;&nbsp;&nbsp;Bc &nbsp;&nbsp;&nbsp;Def &nbsp;&nbsp;&nbsp;Ghij</div>
+ <div>A &nbsp;&nbsp;&nbsp;&nbsp;Bc &nbsp;&nbsp;&nbsp;&nbsp;Def &nbsp;&nbsp;&nbsp;&nbsp;Ghij</div>
+ <div>A &nbsp;&nbsp;&nbsp;&nbsp;<span class="padoneem">Bc &nbsp;&nbsp;&nbsp;&nbsp;<span class="padoneem">Def &nbsp;&nbsp;&nbsp;&nbsp;<span class="padoneem">Ghij &nbsp;&nbsp;&nbsp;&nbsp;<span class="padoneem"></span></span></span></span></div>
+
+</body></html> \ No newline at end of file