Move pseudo_content_with_layers.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 08:41:01 -04:00
parent baa26c9717
commit 2ba76519e1
4 changed files with 25 additions and 1 deletions

View file

@ -683,6 +683,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/pseudo_content_with_layers.html": [
{
"path": "css/pseudo_content_with_layers.html",
"references": [
[
"/_mozilla/css/pseudo_content_with_layers_ref.html",
"=="
]
],
"url": "/_mozilla/css/pseudo_content_with_layers.html"
}
],
"css/pseudo_element_a.html": [
{
"path": "css/pseudo_element_a.html",
@ -3012,6 +3024,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/pseudo_content_with_layers.html": [
{
"path": "css/pseudo_content_with_layers.html",
"references": [
[
"/_mozilla/css/pseudo_content_with_layers_ref.html",
"=="
]
],
"url": "/_mozilla/css/pseudo_content_with_layers.html"
}
],
"css/pseudo_element_a.html": [
{
"path": "css/pseudo_element_a.html",

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<link rel='match' href='pseudo_content_with_layers_ref.html'>
<body>
<style>
.before-test::before {
content: " ";
position: fixed;
width: 100px;
height: 100px;
background: green;
}
.after-test::after {
content: " ";
position: fixed;
width: 100px;
height: 100px;
background: green;
}
div {
position: fixed;
width: 110px;
height: 110px;
background: blue;
}
</style>
<div class="before-test"> </div>
<div style="left: 150px;" class="after-test"> </div>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<body>
<style>
div {
position: absolute;
width: 100px;
height: 100px;
background: green;
border-right: 10px blue solid;
border-bottom: 10px blue solid;
}
</style>
<div> </div>
<div style="left: 150px;"> </div>
</body>
</html>