Move percent_height.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 18:48:38 -04:00
parent be06819f55
commit 6a95d4ede7
4 changed files with 25 additions and 1 deletions

View file

@ -683,6 +683,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/percent_height.html": [
{
"path": "css/percent_height.html",
"references": [
[
"/_mozilla/css/percent_height_ref.html",
"=="
]
],
"url": "/_mozilla/css/percent_height.html"
}
],
"css/percentage_height_float_a.html": [
{
"path": "css/percentage_height_float_a.html",
@ -3312,6 +3324,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/percent_height.html": [
{
"path": "css/percent_height.html",
"references": [
[
"/_mozilla/css/percent_height_ref.html",
"=="
]
],
"url": "/_mozilla/css/percent_height.html"
}
],
"css/percentage_height_float_a.html": [
{
"path": "css/percentage_height_float_a.html",

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='percent_height_ref.html'>
<style type="text/css">
.outer {
background: red;
width: 100px;
height: 100px;
}
.inner {
background: green;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner"></div>
</div>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.outer {
background: green;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<div class="outer">
</div>
</body>
</html>