mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move pseudo_content_with_layers.html to wpt reftests.
This commit is contained in:
parent
baa26c9717
commit
2ba76519e1
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
33
tests/wpt/mozilla/tests/css/pseudo_content_with_layers.html
Normal file
33
tests/wpt/mozilla/tests/css/pseudo_content_with_layers.html
Normal 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>
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue