mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move outset.html to wpt reftests.
This commit is contained in:
parent
e649d8834a
commit
bdcb7ec40e
5 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/outset.html": [
|
||||
{
|
||||
"path": "css/outset.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/outset_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/outset.html"
|
||||
}
|
||||
],
|
||||
"css/overflow_auto_stacking_order_a.html": [
|
||||
{
|
||||
"path": "css/overflow_auto_stacking_order_a.html",
|
||||
|
@ -3408,6 +3420,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/outset.html": [
|
||||
{
|
||||
"path": "css/outset.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/outset_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/outset.html"
|
||||
}
|
||||
],
|
||||
"css/overflow_auto_stacking_order_a.html": [
|
||||
{
|
||||
"path": "css/overflow_auto_stacking_order_a.html",
|
||||
|
|
53
tests/wpt/mozilla/tests/css/outset.html
Normal file
53
tests/wpt/mozilla/tests/css/outset.html
Normal file
|
@ -0,0 +1,53 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='outset_ref.html'>
|
||||
<style>
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.test {
|
||||
color: #f0f;
|
||||
}
|
||||
|
||||
.outset {
|
||||
border: 10px outset;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
line-height: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hack1 {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-color: white;
|
||||
border-color: white;
|
||||
border-style: solid;
|
||||
position: relative;
|
||||
top: -20px;
|
||||
right: 8px;
|
||||
}
|
||||
|
||||
.hack2 {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-color: white;
|
||||
border-color: white;
|
||||
border-style: solid;
|
||||
position: relative;
|
||||
top: -155px;
|
||||
right: -100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section class="test">
|
||||
<div class="outset"></div>
|
||||
</section>
|
||||
|
||||
<div class="hack1"></div>
|
||||
<div class="hack2"></div>
|
||||
</body>
|
||||
</html>
|
BIN
tests/wpt/mozilla/tests/css/outset.png
Normal file
BIN
tests/wpt/mozilla/tests/css/outset.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 312 B |
19
tests/wpt/mozilla/tests/css/outset_ref.html
Normal file
19
tests/wpt/mozilla/tests/css/outset_ref.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: white;
|
||||
border: none;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<img src="outset.png"/>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue