mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move percentage_height_root.html to wpt reftests.
This commit is contained in:
parent
0fd27e927f
commit
a8c3c8c3c0
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/percentage_height_root.html": [
|
||||
{
|
||||
"path": "css/percentage_height_root.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/percentage_height_root_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/percentage_height_root.html"
|
||||
}
|
||||
],
|
||||
"css/png_rgba_colorspace_a.html": [
|
||||
{
|
||||
"path": "css/png_rgba_colorspace_a.html",
|
||||
|
@ -3276,6 +3288,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/percentage_height_root.html": [
|
||||
{
|
||||
"path": "css/percentage_height_root.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/percentage_height_root_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/percentage_height_root.html"
|
||||
}
|
||||
],
|
||||
"css/png_rgba_colorspace_a.html": [
|
||||
{
|
||||
"path": "css/png_rgba_colorspace_a.html",
|
||||
|
|
20
tests/wpt/mozilla/tests/css/percentage_height_root.html
Normal file
20
tests/wpt/mozilla/tests/css/percentage_height_root.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='percentage_height_root_ref.html'>
|
||||
<style type="text/css">
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
div {
|
||||
height: 100%;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
18
tests/wpt/mozilla/tests/css/percentage_height_root_ref.html
Normal file
18
tests/wpt/mozilla/tests/css/percentage_height_root_ref.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
div {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background-color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue