Move box_shadow_paint_order_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent 8ba9e6efe3
commit 01c5134208
4 changed files with 25 additions and 1 deletions

View file

@ -779,6 +779,18 @@
"url": "/_mozilla/css/border_spacing_a.html"
}
],
"css/box_shadow_paint_order_a.html": [
{
"path": "css/box_shadow_paint_order_a.html",
"references": [
[
"/_mozilla/css/box_shadow_paint_order_ref.html",
"=="
]
],
"url": "/_mozilla/css/box_shadow_paint_order_a.html"
}
],
"css/box_sizing_border_box_a.html": [
{
"path": "css/box_sizing_border_box_a.html",
@ -5148,6 +5160,18 @@
"url": "/_mozilla/css/border_spacing_a.html"
}
],
"css/box_shadow_paint_order_a.html": [
{
"path": "css/box_shadow_paint_order_a.html",
"references": [
[
"/_mozilla/css/box_shadow_paint_order_ref.html",
"=="
]
],
"url": "/_mozilla/css/box_shadow_paint_order_a.html"
}
],
"css/box_sizing_border_box_a.html": [
{
"path": "css/box_sizing_border_box_a.html",

View file

@ -0,0 +1,17 @@
<head>
<link rel='match' href='box_shadow_paint_order_ref.html'>
<!-- Tests paint order of multiple box shadows. -->
<style>
section {
position: absolute;
width: 100px;
height: 100px;
top: 100px;
left: 100px;
box-shadow: -25px -25px purple, -50px -50px turquoise;
}
</style>
</head>
<body>
<section></section>
</body>

View file

@ -0,0 +1,30 @@
<head>
<!-- Tests paint order of multiple box shadows. -->
<style>
section {
position: absolute;
width: 100px;
height: 100px;
}
#a {
top: 50px;
left: 50px;
background: turquoise;
}
#b {
top: 75px;
left: 75px;
background: purple;
}
#c {
top: 100px;
left: 100px;
background: white;
}
</style>
</head>
<body>
<section id=a></section>
<section id=b></section>
<section id=c></section>
</body>