mirror of
https://github.com/servo/servo.git
synced 2025-06-13 19:04:30 +00:00
29 lines
450 B
HTML
29 lines
450 B
HTML
<!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 {
|
|
display: table-cell;
|
|
width: 128px;
|
|
height: 64px;
|
|
background: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<section></section>
|
|
<div class=a></div>
|
|
</body>
|
|
</html>
|
|
|