haikuwebkit/LayoutTests/fast/layoutformattingcontext/table-space-distribution-si...

41 lines
1.2 KiB
HTML

<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
<style>
td {
height: 10px;
background-color: blue;
padding: 0px;
}
table {
border-spacing: 0px;
}
.narrow {
width: 200px;
}
.wide {
width: 300px;
}
body {
background-color: white;
}
td:nth-child(odd) {
background-color: green;
}
</style>
<table class=narrow><tr><td>foobar foobar</td><td>foobar foobar foobar foobar</td></tr></table>
<table class=narrow><tr><td>foobar foobar foobar</td><td>foobar foobar foobar foobar</td></tr></table>
<table class=narrow><tr><td>foobar foobar foobar foobar</td><td>foobar foobar foobar foobar foobar</td></tr></table>
<table class=wide><tr><td>foobar foobar foobar</td><td>foobar foobar foobar foobar</td></tr></table>
<table class=wide><tr><td>foobar foobar foobar foobar</td><td>foobar foobar foobar foobar foobar</td></tr></table>
<table class=wide><tr><td>foobar foobar foobar foobar foobar</td><td>foobar foobar foobar foobar foobar</td></tr></table>
<pre>It's a collection of special tests where LFC matches Chrome and Firefox but not trunk WebKit.</pre>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>