blob: 0925d3eda859857b91f4bab491bb5340451bd6e9 [file] [log] [blame]
<!DOCTYPE html>
<html style="font-size: 16px">
<head>
<meta name="viewport" content="width=800">
<style>
body {
width: 800px;
margin: 0;
overflow-y: hidden;
overflow-x: hidden;
}
</style>
<script src="resources/autosizingTest.js"></script>
</head>
<body>
<div>
This test verifies that FastTextAutosizer considers a list item (LI) to be
"text" for the purpose of determining the deepest block containing all text
(DBCAT). If this were not the case, the cluster's DBCAT would be the DIV inside
the LI, which hasn't entered layout yet when the list marker is autosized (causing
the autosizer to crash).
</div>
<ul style="float:left">
<li><div>List item list item list item list item list item list item list item
list item list item list item list item list item list item list item list item
list item list item list item list item list item list item list item list item</div></li>
</ul>
</body>
</html>