mirror of
https://github.com/servo/servo
synced 2026-05-12 09:56:50 +02:00
This patch also makes Servo not crash when `generated_containing_block_rect()` is called on a list item (as, for example, GitHub does), and for good measure I added the fix to other flows as well.
25 lines
275 B
HTML
25 lines
275 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!-- Tests that list items can be floated. -->
|
|
<style>
|
|
ul div {
|
|
float: left;
|
|
margin: 0;
|
|
}
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<ul>
|
|
<div>Foo</div>
|
|
<div>Bar</div>
|
|
<div>Baz</div>
|
|
</ul>
|
|
</body>
|
|
</html>
|
|
|