Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>A float in the list item's content does not move the outside marker</title>
<link rel="match" href="outside-marker-with-float-in-content-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
body { margin: 0; font: 20px/1 Ahem }
ul { margin: 0; padding-inline-start: 60px }
.float { float: left; width: 60px; height: 20px; background: green }
</style>
</head>
<body>
<ul><li><div><div class="float"></div>xx</div></li></ul>
</body>
</html>