mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move inset.html to wpt reftests.
This commit is contained in:
parent
e35846eb36
commit
c10eecf671
5 changed files with 25 additions and 1 deletions
|
@ -731,6 +731,18 @@
|
|||
"url": "/_mozilla/css/inline_padding_a.html"
|
||||
}
|
||||
],
|
||||
"css/inset.html": [
|
||||
{
|
||||
"path": "css/inset.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inset_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inset.html"
|
||||
}
|
||||
],
|
||||
"css/issue-1324.html": [
|
||||
{
|
||||
"path": "css/issue-1324.html",
|
||||
|
@ -3780,6 +3792,18 @@
|
|||
"url": "/_mozilla/css/inline_padding_a.html"
|
||||
}
|
||||
],
|
||||
"css/inset.html": [
|
||||
{
|
||||
"path": "css/inset.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/inset_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/inset.html"
|
||||
}
|
||||
],
|
||||
"css/issue-1324.html": [
|
||||
{
|
||||
"path": "css/issue-1324.html",
|
||||
|
|
54
tests/wpt/mozilla/tests/css/inset.html
Normal file
54
tests/wpt/mozilla/tests/css/inset.html
Normal file
|
@ -0,0 +1,54 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='inset_ref.html'>
|
||||
<style>
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.test {
|
||||
color: #f0f;
|
||||
}
|
||||
|
||||
.inset {
|
||||
border: 10px inset;
|
||||
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="inset"></div>
|
||||
</section>
|
||||
|
||||
<div class="hack1"></div>
|
||||
<div class="hack2"></div>
|
||||
</body>
|
||||
</html>
|
BIN
tests/wpt/mozilla/tests/css/inset.png
Normal file
BIN
tests/wpt/mozilla/tests/css/inset.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 315 B |
13
tests/wpt/mozilla/tests/css/inset_ref.html
Normal file
13
tests/wpt/mozilla/tests/css/inset_ref.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
img {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<img src="inset.png"/>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue