Move float_intrinsic_width_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent a69b2ebfff
commit 20b38229e7
4 changed files with 25 additions and 1 deletions

View file

@ -827,6 +827,18 @@
"url": "/_mozilla/css/float_intrinsic_height.html"
}
],
"css/float_intrinsic_width_a.html": [
{
"path": "css/float_intrinsic_width_a.html",
"references": [
[
"/_mozilla/css/float_intrinsic_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/float_intrinsic_width_a.html"
}
],
"css/float_table_a.html": [
{
"path": "css/float_table_a.html",
@ -4884,6 +4896,18 @@
"url": "/_mozilla/css/float_intrinsic_height.html"
}
],
"css/float_intrinsic_width_a.html": [
{
"path": "css/float_intrinsic_width_a.html",
"references": [
[
"/_mozilla/css/float_intrinsic_width_ref.html",
"=="
]
],
"url": "/_mozilla/css/float_intrinsic_width_a.html"
}
],
"css/float_table_a.html": [
{
"path": "css/float_table_a.html",

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='float_intrinsic_width_ref.html'>
<style type="text/css">
body {
font-family: 'ahem';
font-size: 100px;
margin: 0;
line-height: 1;
}
.fl {
float: left;
}
.green {
color: green;
}
</style>
</head>
<body>
<div class="fl green">X X</div>
</body>
</html>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.fl {
float: left;
}
.green {
background-color: green;
}
.fixed {
width: 100px;
height: 100px;
}
body {
margin: 0;
}
</style>
</head>
<body>
<div class="fl green fixed"></div>
<div class="fl fixed"></div>
<div class="fl green fixed"></div>
</body>
</html>