aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYoungmin Yoo <youngmin.yoo@samsung.com>2014-02-11 10:56:05 +0900
committerYoungmin Yoo <youngmin.yoo@samsung.com>2014-02-19 17:14:06 +0900
commita12608d2e4d44da49d8f26fc9d111b7dfd01bfd7 (patch)
treeddb2f3d0c174aac63a87cea22fce5e6131963430 /src
parent49952241ad1444256118ee42f6b2ab7e8704cd8c (diff)
downloadservo-a12608d2e4d44da49d8f26fc9d111b7dfd01bfd7.tar.gz
servo-a12608d2e4d44da49d8f26fc9d111b7dfd01bfd7.zip
Add a reftest for background-image
Diffstat (limited to 'src')
-rw-r--r--src/test/ref/background_a.html9
-rw-r--r--src/test/ref/background_b.html9
-rw-r--r--src/test/ref/basic.list1
3 files changed, 19 insertions, 0 deletions
diff --git a/src/test/ref/background_a.html b/src/test/ref/background_a.html
new file mode 100644
index 00000000000..28bc8f6b21d
--- /dev/null
+++ b/src/test/ref/background_a.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title></title>
+</head>
+<body>
+<div class="test" style="background: url(rust-0.png); width:200px; height:200px;"></div>
+</body>
+</html>
diff --git a/src/test/ref/background_b.html b/src/test/ref/background_b.html
new file mode 100644
index 00000000000..11faa177fb7
--- /dev/null
+++ b/src/test/ref/background_b.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title></title>
+</head>
+<body>
+<img class="test" src="rust-0.png" style="width:200px; height:200px;" />
+</body>
+</html>
diff --git a/src/test/ref/basic.list b/src/test/ref/basic.list
index 290a00741ca..bfd262afecb 100644
--- a/src/test/ref/basic.list
+++ b/src/test/ref/basic.list
@@ -29,3 +29,4 @@
== position_relative_a.html position_relative_b.html
== attr_exists_selector.html attr_exists_selector_ref.html
== data_img_a.html data_img_b.html
+== background_a.html background_b.html