servo/tests/ref/table_intrinsic_style_specified_width_ref.html
Patrick Walton a92baf7683 layout: Make the style-specified width affect minimum width.
Improves the front page of Google.
2015-04-27 18:32:28 -07:00

31 lines
473 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
section {
width: 400px;
}
table {
width: 400px;
height: 100px;
}
#a {
min-width: 100px;
height: 100px;
background: green;
}
#b {
background: lightblue;
}
</style>
</head>
<body>
<section><table><tr><td><div id=a></div></td><td id=b>
Foo foo foo foo foo foo foo foo
foo foo foo foo foo foo foo foo
foo foo foo foo foo foo foo foo
foo foo foo foo foo foo foo foo
</td></tr></table></section>
</body>
</html>