mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move min_max_height_a.html to wpt reftests.
This commit is contained in:
parent
e0c8a88410
commit
24b0b0c80c
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
34
tests/wpt/mozilla/tests/css/min_max_height_a.html
Normal file
34
tests/wpt/mozilla/tests/css/min_max_height_a.html
Normal 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>
|
||||
|
29
tests/wpt/mozilla/tests/css/min_max_height_b.html
Normal file
29
tests/wpt/mozilla/tests/css/min_max_height_b.html
Normal 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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue