mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Modify borders ref test to work on OS X
Issue https://github.com/mozilla/servo/issues/2848 has details. This commit uncomments the borders ref test in basic.list and modifies the test to work with viewports up to 4096px wide. Also as a workaround change the html element background to white, otherwise pixel (0,0) is black (it should be white since the border at pixel (0, 0) is white. The bug is mostly likely a regression in rust-layers.
This commit is contained in:
parent
ca96821902
commit
12a2cde8a5
3 changed files with 14 additions and 5 deletions
|
@ -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
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 2 KiB |
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue