Move max_width_simple_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent 2259fcb77a
commit 902f010205
4 changed files with 25 additions and 1 deletions

View file

@ -827,6 +827,18 @@
"url": "/_mozilla/css/letter_spacing_a.html"
}
],
"css/max_width_simple_a.html": [
{
"path": "css/max_width_simple_a.html",
"references": [
[
"/_mozilla/css/max_width_simple_b.html",
"=="
]
],
"url": "/_mozilla/css/max_width_simple_a.html"
}
],
"css/min_max_height_a.html": [
{
"path": "css/min_max_height_a.html",
@ -4020,6 +4032,18 @@
"url": "/_mozilla/css/letter_spacing_a.html"
}
],
"css/max_width_simple_a.html": [
{
"path": "css/max_width_simple_a.html",
"references": [
[
"/_mozilla/css/max_width_simple_b.html",
"=="
]
],
"url": "/_mozilla/css/max_width_simple_a.html"
}
],
"css/min_max_height_a.html": [
{
"path": "css/min_max_height_a.html",

View file

@ -0,0 +1,25 @@
<html>
<head>
<link rel='match' href='max_width_simple_b.html'>
<style>
#first {
position: relative;
width: 100px;
height: 100px;
border: solid 1px;
}
#block {
height: 50px;
width: 50%;
max-width: 40px;
background: green;
}
</style>
</head>
<body>
<div id="first">
<div id="block">
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,22 @@
<html>
<head>
<style>
#first {
width: 100px;
height: 100px;
border: solid 1px;
}
#block {
height: 50px;
width: 40px;
background: green;
}
</style>
</head>
<body>
<div id="first">
<div id="block">
</div>
</div>
</body>
</html>