mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move abs_rel_explicit_height.html to wpt reftests.
This commit is contained in:
parent
bd27740ebf
commit
4b9ffeca03
4 changed files with 26 additions and 2 deletions
|
@ -27,6 +27,18 @@
|
|||
"url": "/_mozilla/css/abs_float_pref_width.html"
|
||||
}
|
||||
],
|
||||
"css/abs_rel_explicit_height.html": [
|
||||
{
|
||||
"path": "css/abs_rel_explicit_height.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/abs_rel_explicit_height_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/abs_rel_explicit_height.html"
|
||||
}
|
||||
],
|
||||
"css/absolute_clipping_of_own_contents.html": [
|
||||
{
|
||||
"path": "css/absolute_clipping_of_own_contents.html",
|
||||
|
@ -884,6 +896,18 @@
|
|||
"url": "/_mozilla/css/abs_float_pref_width.html"
|
||||
}
|
||||
],
|
||||
"css/abs_rel_explicit_height.html": [
|
||||
{
|
||||
"path": "css/abs_rel_explicit_height.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/abs_rel_explicit_height_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/abs_rel_explicit_height.html"
|
||||
}
|
||||
],
|
||||
"css/absolute_clipping_of_own_contents.html": [
|
||||
{
|
||||
"path": "css/absolute_clipping_of_own_contents.html",
|
||||
|
@ -1154,4 +1178,4 @@
|
|||
"rev": null,
|
||||
"url_base": "/_mozilla/",
|
||||
"version": 2
|
||||
}
|
||||
}
|
||||
|
|
52
tests/wpt/mozilla/tests/css/abs_rel_explicit_height.html
Normal file
52
tests/wpt/mozilla/tests/css/abs_rel_explicit_height.html
Normal file
|
@ -0,0 +1,52 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel=match href=abs_rel_explicit_height_ref.html>
|
||||
<style type="text/css">
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
html, body {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
#div0 {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
#div1 {
|
||||
position: relative;
|
||||
height: 100px;
|
||||
}
|
||||
#div2 {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#div3 {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#div4 {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="div0">
|
||||
<div id="div1">
|
||||
<div id="div2">
|
||||
<div id="div3">
|
||||
<div id="div4">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
20
tests/wpt/mozilla/tests/css/abs_rel_explicit_height_ref.html
Normal file
20
tests/wpt/mozilla/tests/css/abs_rel_explicit_height_ref.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
#div0 {
|
||||
position: absolute;
|
||||
height: 100px;
|
||||
width: 100%;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="div0">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue