mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move box_shadow_inset_a.html to wpt reftests.
This commit is contained in:
parent
23efa0a36f
commit
ca62d2387e
4 changed files with 25 additions and 1 deletions
|
@ -899,6 +899,18 @@
|
|||
"url": "/_mozilla/css/box_shadow_default_color_a.html"
|
||||
}
|
||||
],
|
||||
"css/box_shadow_inset_a.html": [
|
||||
{
|
||||
"path": "css/box_shadow_inset_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/box_shadow_inset_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/box_shadow_inset_a.html"
|
||||
}
|
||||
],
|
||||
"css/box_shadow_inset_bg.html": [
|
||||
{
|
||||
"path": "css/box_shadow_inset_bg.html",
|
||||
|
@ -5634,6 +5646,18 @@
|
|||
"url": "/_mozilla/css/box_shadow_default_color_a.html"
|
||||
}
|
||||
],
|
||||
"css/box_shadow_inset_a.html": [
|
||||
{
|
||||
"path": "css/box_shadow_inset_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/box_shadow_inset_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/box_shadow_inset_a.html"
|
||||
}
|
||||
],
|
||||
"css/box_shadow_inset_bg.html": [
|
||||
{
|
||||
"path": "css/box_shadow_inset_bg.html",
|
||||
|
|
19
tests/wpt/mozilla/tests/css/box_shadow_inset_a.html
Normal file
19
tests/wpt/mozilla/tests/css/box_shadow_inset_a.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<!-- Tests that box-shadow inset works. -->
|
||||
<link rel=match href=box_shadow_inset_ref.html>
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
top: 100px;
|
||||
left: 100px;
|
||||
box-shadow: inset 50px 10px gold;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section></section>
|
||||
</body>
|
||||
|
28
tests/wpt/mozilla/tests/css/box_shadow_inset_ref.html
Normal file
28
tests/wpt/mozilla/tests/css/box_shadow_inset_ref.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<!-- Tests that box-shadow inset works. -->
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
top: 100px;
|
||||
left: 100px;
|
||||
background: gold;
|
||||
}
|
||||
nav {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
height: 90px;
|
||||
background: white;
|
||||
left: 50px;
|
||||
top: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section><nav></nav></section>
|
||||
</body>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue