blob: a67fddfe47d75140ffefed184d831793d39c95eb [file] [log] [blame]
<!DOCTYPE html>
<html style="font-size: 16px">
<head>
<meta name="viewport" content="width=800">
<style>
body {
width: 800px;
margin: 0;
overflow: hidden;
}
</style>
</head>
<body>
<div style="font-size:2.5em;">
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 style="width:800px; font-size:2.5em;"><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>