mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move position_relative_painting_order_a.html to wpt reftests.
This commit is contained in:
parent
b1c5cac4ba
commit
76086aa305
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_painting_order_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_painting_order_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_painting_order_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_painting_order_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_stacking_context_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_stacking_context_a.html",
|
||||
|
@ -3096,6 +3108,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_painting_order_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_painting_order_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/position_relative_painting_order_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/position_relative_painting_order_a.html"
|
||||
}
|
||||
],
|
||||
"css/position_relative_stacking_context_a.html": [
|
||||
{
|
||||
"path": "css/position_relative_stacking_context_a.html",
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='position_relative_painting_order_ref.html'>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
div {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
#a {
|
||||
position: relative;
|
||||
top: 50px;
|
||||
left: 50px;
|
||||
background: purple;
|
||||
}
|
||||
#b {
|
||||
background: steelblue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id=a></div>
|
||||
<div id=b></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
div {
|
||||
position: absolute;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
#a {
|
||||
top: 50px;
|
||||
left: 50px;
|
||||
background: purple;
|
||||
}
|
||||
#b {
|
||||
background: steelblue;
|
||||
left: 0;
|
||||
top: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id=b></div>
|
||||
<div id=a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue