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