Move inset.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 21:20:29 -04:00
parent e35846eb36
commit c10eecf671
5 changed files with 25 additions and 1 deletions

View file

@ -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",

View 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<style>
img {
position: absolute;
left: 0px;
top: 0px;
}
</style>
<body>
<img src="inset.png"/>
</body>
</html>