aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/test/html/background.html20
-rw-r--r--src/test/ref/rust-0.pngbin0 -> 4399 bytes
2 files changed, 20 insertions, 0 deletions
diff --git a/src/test/html/background.html b/src/test/html/background.html
new file mode 100644
index 00000000000..c3bb0df99ab
--- /dev/null
+++ b/src/test/html/background.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title></title>
+ </head>
+ <style>
+ .test { background: url(rust-0.png) gray; }
+ </style>
+ <body>
+ <div class="test" style="width:200px; height:200px; color:red;">
+ background: url(rust-0.png) gray; width:200px; height:200px;
+ </div>
+ <div class="test" style="background-image: url(rust-45.png); width:200px; height:200px; color:red;">
+ background-image: url(rust-45.png); width:200px; height:200px;
+ </div>
+ <div style="background: url(rust-90.png) yellow; width:200px; height:200px; border: 5px solid #000; color:blue;">
+ background: url(rust-90.png) yellow; width:200px; height:200px; border: 5px solid #000;
+ </div>
+ </body>
+</html>
diff --git a/src/test/ref/rust-0.png b/src/test/ref/rust-0.png
new file mode 100644
index 00000000000..20d93badf5e
--- /dev/null
+++ b/src/test/ref/rust-0.png
Binary files differ