Move simple_inline_absolute_containing_block_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 23:19:24 -04:00
parent 2bb4d4c99f
commit 84af16af95
4 changed files with 25 additions and 1 deletions

View file

@ -591,6 +591,18 @@
"url": "/_mozilla/css/setpropertypriority.html"
}
],
"css/simple_inline_absolute_containing_block_a.html": [
{
"path": "css/simple_inline_absolute_containing_block_a.html",
"references": [
[
"/_mozilla/css/simple_inline_absolute_containing_block_ref.html",
"=="
]
],
"url": "/_mozilla/css/simple_inline_absolute_containing_block_a.html"
}
],
"css/stacked_layers.html": [
{
"path": "css/stacked_layers.html",
@ -2636,6 +2648,18 @@
"url": "/_mozilla/css/setpropertypriority.html"
}
],
"css/simple_inline_absolute_containing_block_a.html": [
{
"path": "css/simple_inline_absolute_containing_block_a.html",
"references": [
[
"/_mozilla/css/simple_inline_absolute_containing_block_ref.html",
"=="
]
],
"url": "/_mozilla/css/simple_inline_absolute_containing_block_a.html"
}
],
"css/stacked_layers.html": [
{
"path": "css/stacked_layers.html",

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<link rel='match' href='simple_inline_absolute_containing_block_ref.html'>
<style>
main {
position: relative;
padding: 0 16px;
display: inline;
}
section {
position: absolute;
top: 25%;
bottom: 25%;
left: 0;
right: 0;
background: red;
}
#coveritup {
position: relative;
background: white;
top: -20px;
display: inline;
color: white;
}
</style>
<div>There should be no red.<main><section></section></main></div>
<div>There should be no red.<div id=coveritup>XXXXX</div></div>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<div>There should be no red.</div>
<div>There should be no red.</div>