Move table_cell_float_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-15 22:51:14 -04:00
parent a5ca38c321
commit de2252853b
4 changed files with 25 additions and 1 deletions

View file

@ -603,6 +603,18 @@
"url": "/_mozilla/css/stacking_context_rtl.html"
}
],
"css/table_cell_float_a.html": [
{
"path": "css/table_cell_float_a.html",
"references": [
[
"/_mozilla/css/table_cell_float_ref.html",
"=="
]
],
"url": "/_mozilla/css/table_cell_float_a.html"
}
],
"css/table_center_a.html": [
{
"path": "css/table_center_a.html",
@ -2540,6 +2552,18 @@
"url": "/_mozilla/css/stacking_context_rtl.html"
}
],
"css/table_cell_float_a.html": [
{
"path": "css/table_cell_float_a.html",
"references": [
[
"/_mozilla/css/table_cell_float_ref.html",
"=="
]
],
"url": "/_mozilla/css/table_cell_float_a.html"
}
],
"css/table_center_a.html": [
{
"path": "css/table_center_a.html",

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<link rel='match' href='table_cell_float_ref.html'>
<head>
<!-- Tests that an element with `display: table-cell` is correctly positioned next to a float. -->
<style>
body, html {
margin: 0;
}
section {
float: left;
display: block;
width: 32px;
height: 32px;
background: firebrick;
}
.a {
display: table-cell;
width: 128px;
height: 64px;
background: green;
}
</style>
</head>
<body>
<section></section>
<div class=a></div>
</body>
</html>

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that an element with `display: table-cell` is correctly positioned next to a float. -->
<style>
body, html {
margin: 0;
}
section {
float: left;
display: block;
width: 32px;
height: 32px;
background: firebrick;
}
.a {
position: absolute;
left: 32px;
top: 0;
width: 128px;
height: 64px;
background: green;
}
</style>
</head>
<body>
<section></section>
<div class=a></div>
</body>
</html>