auto merge of #4324 : Adenilson/servo/grooveBorderColor01, r=pcwalton

Groove and Ridge rendering shows a solid border when color is black, that is broken and the current patch will implement a similar behavior as Firefox.
This commit is contained in:
bors-servo 2014-12-12 15:30:56 -07:00
commit e74a57821f
5 changed files with 80 additions and 3 deletions

View file

@ -194,3 +194,6 @@ fragment=top != ../html/acid2.html acid2_ref.html
== outlines_simple_a.html outlines_simple_ref.html
== outlines_wrap_a.html outlines_wrap_ref.html
== letter_spacing_a.html letter_spacing_ref.html
!= border_black_groove.html border_black_solid.html
!= border_black_ridge.html border_black_solid.html
!= border_black_ridge.html border_black_groove.html

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<style>
.box {
width: 100px;
height: 100px;
margin: 10px;
border-width: 20px;
border-color: black;
border-style: groove;
}
</style>
</head>
<body>
<!-- Test mixed border styles. Expect a square with borders with
2 colors (dark/lighter), it fails if it has a solid dark border.
-->
<div class="box"></div>
</body>
</html>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<style>
.box {
width: 100px;
height: 100px;
margin: 10px;
border-width: 20px;
border-color: black;
border-style: ridge;
}
</style>
</head>
<body>
<!-- Test mixed border styles. Expect a square with borders with
2 colors (lighter/dark), it fails if it has a solid dark border.
-->
<div class="box"></div>
</body>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<style>
.box {
width: 100px;
height: 100px;
margin: 10px;
border-width: 20px;
border-color: black;
border-style: solid;
}
</style>
</head>
<body>
<!-- Test mixed border styles. Expect a square with solid dark border.
-->
<div class="box"></div>
</body>
</html>