aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@mozilla.com>2014-07-19 13:08:05 -0700
committerCameron Zwarich <zwarich@mozilla.com>2014-07-19 13:08:05 -0700
commit39b9397c2be368ecc10564ffe6ac787cddcadc7c (patch)
tree6138de8b9ab4b74e50af9515b355a3431419d542 /src
parent7bb13a183a6a0a43a1444d1af50bb1597f1deb24 (diff)
parent12a2cde8a552886a7e020c0c50ea4ad0c4b7d411 (diff)
downloadservo-39b9397c2be368ecc10564ffe6ac787cddcadc7c.tar.gz
servo-39b9397c2be368ecc10564ffe6ac787cddcadc7c.zip
Merge pull request #2874 from bjwbell/borders-ref-test
Modify borders ref test to work on OS X
Diffstat (limited to 'src')
-rw-r--r--src/test/ref/basic.list2
-rw-r--r--src/test/ref/borders.pngbin3027 -> 2090 bytes
-rw-r--r--src/test/ref/borders_a.html17
3 files changed, 14 insertions, 5 deletions
diff --git a/src/test/ref/basic.list b/src/test/ref/basic.list
index 9dbfc36e669..8c97fef8460 100644
--- a/src/test/ref/basic.list
+++ b/src/test/ref/basic.list
@@ -16,7 +16,7 @@
== root_height_a.html root_height_b.html
== png_rgba_colorspace_a.html png_rgba_colorspace_b.html
== border_style_none_a.html border_style_none_b.html
-# == borders_a.html borders_b.html
+== borders_a.html borders_b.html
== acid1_a.html acid1_b.html
== text_decoration_cached.html text_decoration_cached_ref.html
# text_decoration_propagation_a.html text_decoration_propagation_b.html
diff --git a/src/test/ref/borders.png b/src/test/ref/borders.png
index 7d7ee68b35a..bd9644b9553 100644
--- a/src/test/ref/borders.png
+++ b/src/test/ref/borders.png
Binary files differ
diff --git a/src/test/ref/borders_a.html b/src/test/ref/borders_a.html
index 42657346f47..89c8e34f5cb 100644
--- a/src/test/ref/borders_a.html
+++ b/src/test/ref/borders_a.html
@@ -2,35 +2,44 @@
<html>
<head>
<style>
+html {
+ background-color: white;
+}
#none{
border-style: none;
border-width: 10px;
border-color: green red yellow black;
+ width:4096px;
}
#hidden{
border-style: hidden;
border-width: 10px;
border-color: green red yellow black;
+ width:4096px;
}
#double{
border-style: double;
border-width: 10px;
border-color: yellow;
+ width:4096px;
}
#solid{
border-style: solid;
border-width: 10px;
border-color: yellow;
+ width:4096px;
}
#dashed{
border-style: dashed;
border-width: 10px;
border-color: green yellow black red;
+ width:4096px;
}
#dotted{
border-style: dotted;
border-width: 10px;
border-color: green red yellow black;
+ width:4096px;
}
#groove{
border-style: groove;
@@ -38,7 +47,7 @@
border-color: green red yellow black;
position: relative;
left: -30px;
- width:1024px;
+ width:4096px;
}
#ridge{
border-style: ridge;
@@ -46,7 +55,7 @@
border-color: green red yellow black;
position: relative;
left: -30px;
- width:1024px;
+ width:4096px;
}
#inset{
border-style: inset;
@@ -54,7 +63,7 @@
border-color: green red yellow black;
position: relative;
left: -30px;
- width:1024px;
+ width:4096px;
}
#outset{
border-style: outset;
@@ -62,7 +71,7 @@
border-color: green red yellow black;
position: relative;
left: -30px;
- width:1024px;
+ width:4096px;
}
</style>
</head>