aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2017-02-06 11:06:12 +0100
committerMs2ger <Ms2ger@gmail.com>2017-02-06 22:38:29 +0100
commit296fa2512ba2fbc8f1d6b7e82e30ad3b5d2a9a20 (patch)
tree95ac50cd05fa8a22d1c0fa12016ee0d2012a165c /tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference
parentfb4f421c8b9cbf80a86c9c5eb88395d7008b27a1 (diff)
downloadservo-296fa2512ba2fbc8f1d6b7e82e30ad3b5d2a9a20.tar.gz
servo-296fa2512ba2fbc8f1d6b7e82e30ad3b5d2a9a20.zip
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
Diffstat (limited to 'tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference')
-rw-r--r--tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/variable-reference-without-whitespace-ref.xht15
-rw-r--r--tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/vars-background-shorthand-001-ref.xht22
-rw-r--r--tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/vars-font-shorthand-001-ref.xht30
3 files changed, 67 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/variable-reference-without-whitespace-ref.xht b/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/variable-reference-without-whitespace-ref.xht
new file mode 100644
index 00000000000..7baee19a429
--- /dev/null
+++ b/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/variable-reference-without-whitespace-ref.xht
@@ -0,0 +1,15 @@
+<!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>Variable reference without whitespace - reference</title>
+<link href="http://exyr.org/about/" rel="author" title="Simon Sapin" />
+</head><body><p>The next four lines must be identical, containing only zeroes:
+</p><p>0 0 0
+</p><p>0 0 0
+</p><p>0 0 0
+</p><p>0 0 0
+
+</p><p>The next four lines must be identical, containing increasing integers:
+</p><p>1 2 3
+</p><p>1 2 3
+</p><p>1 2 3
+</p><p>1 2 3
+</p></body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/vars-background-shorthand-001-ref.xht b/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/vars-background-shorthand-001-ref.xht
new file mode 100644
index 00000000000..2602ee11ffa
--- /dev/null
+++ b/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/vars-background-shorthand-001-ref.xht
@@ -0,0 +1,22 @@
+<!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 Variables 1: Test variables in background shorthand.</title>
+<link href="mailto:lea@verou.me" rel="author" title="Lea Verou" />
+<style>
+div {
+ width: 50px;
+ height: 50px;
+ padding: 50px;
+ margin: 10px;
+ display: inline-block;
+ background: green;
+}
+</style>
+</head><body><p>Test passes if you see four green squares, and no red.</p>
+<div id="d1"></div>
+<div id="d2"></div>
+<div id="d3"></div>
+<div id="d4"></div>
+
+
+
+</body></html> \ No newline at end of file
diff --git a/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/vars-font-shorthand-001-ref.xht b/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/vars-font-shorthand-001-ref.xht
new file mode 100644
index 00000000000..ebba5f572f5
--- /dev/null
+++ b/tests/wpt/css-tests/css-variables-1_dev/xhtml1print/reference/vars-font-shorthand-001-ref.xht
@@ -0,0 +1,30 @@
+<!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 Variables 1: Test variables in @font-face, font-family, font shorthand.</title>
+<link href="mailto:lea@verou.me" rel="author" title="Lea Verou" />
+<style>
+
+
+
+div {
+ width: 150px;
+ height: 150px;
+ margin: 10px;
+ display: inline-block;
+ vertical-align: middle;
+ background: green;
+ text-align: center;
+ color: green;
+ overflow: hidden;
+}
+
+</style>
+</head><body><p>Test passes if you see six green squares, and no red.</p>
+<div id="d1">X</div>
+<div id="d2">X</div>
+<div id="d3">X</div>
+<div id="d4">X</div>
+<div id="d5">X</div>
+<div id="d6">X</div>
+
+
+</body></html> \ No newline at end of file