mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01: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.
24 lines
275 B
HTML
24 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>
|
|
|