Move percentage_height_root.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 18:44:14 -04:00
parent 0fd27e927f
commit a8c3c8c3c0
4 changed files with 25 additions and 1 deletions

View file

@ -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",

View 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>

View 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>