Move min_max_height_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent e0c8a88410
commit 24b0b0c80c
4 changed files with 25 additions and 1 deletions

View file

@ -827,6 +827,18 @@
"url": "/_mozilla/css/letter_spacing_a.html"
}
],
"css/min_max_height_a.html": [
{
"path": "css/min_max_height_a.html",
"references": [
[
"/_mozilla/css/min_max_height_b.html",
"=="
]
],
"url": "/_mozilla/css/min_max_height_a.html"
}
],
"css/nth_child_pseudo_a.html": [
{
"path": "css/nth_child_pseudo_a.html",
@ -3888,6 +3900,18 @@
"url": "/_mozilla/css/letter_spacing_a.html"
}
],
"css/min_max_height_a.html": [
{
"path": "css/min_max_height_a.html",
"references": [
[
"/_mozilla/css/min_max_height_b.html",
"=="
]
],
"url": "/_mozilla/css/min_max_height_a.html"
}
],
"css/nth_child_pseudo_a.html": [
{
"path": "css/nth_child_pseudo_a.html",

View file

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='min_max_height_b.html'>
<title>You see here a scroll labeled VE FORBRYDERNE.</title>
<style>
div {
width: 50px;
}
#a {
background: red;
height: 50px;
min-height: 100px;
}
#b {
background: green;
height: 100px;
max-height: 50px;
}
#c {
background: blue;
height: 50px;
min-height: 100px; /* <-- this one overrides per the spec */
max-height: 25px;
}
</style>
</head>
<body>
<div id=a></div>
<div id=b></div>
<div id=c></div>
</body>
</html>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<title>You see here a scroll labeled VE FORBRYDERNE.</title>
<style>
div {
width: 50px;
}
#a {
background: red;
height: 100px;
}
#b {
background: green;
height: 50px;
}
#c {
background: blue;
height: 100px;
}
</style>
</head>
<body>
<div id=a></div>
<div id=b></div>
<div id=c></div>
</body>
</html>