mirror of
https://github.com/servo/servo.git
synced 2025-06-10 17:43:16 +00:00
wrapper around them. Fixes Wikipedia tables leaking out. Along the way, I refactored tables' width calculation significantly. This was necessary in order to properly handle floated tables, as some of the logic had to be ported over from block flows.
22 lines
538 B
HTML
22 lines
538 B
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<title>Rust - Wikipedia, the free encyclopedia</title>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div style="float: right"><table style="margin: 0px 0px 0em 1em; width: 100px; background: red;">
|
|
<tr><td>foo</td></tr>
|
|
<tr><td>foo</td></tr>
|
|
<tr><td>foo</td></tr>
|
|
<tr><td>foo</td></tr>
|
|
<tr><td>foo</td></tr>
|
|
</table></div>
|
|
</body>
|
|
</html>
|