Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / list-item-above-dbcat.html
blob0925d3eda859857b91f4bab491bb5340451bd6e9
1 <!DOCTYPE html>
2 <html style="font-size: 16px">
3 <head>
5 <meta name="viewport" content="width=800">
6 <style>
7 body {
8 width: 800px;
9 margin: 0;
10 overflow-y: hidden;
11 overflow-x: hidden;
13 </style>
15 <script src="resources/autosizingTest.js"></script>
17 </head>
18 <body>
20 <div>
21 This test verifies that FastTextAutosizer considers a list item (LI) to be
22 "text" for the purpose of determining the deepest block containing all text
23 (DBCAT). If this were not the case, the cluster's DBCAT would be the DIV inside
24 the LI, which hasn't entered layout yet when the list marker is autosized (causing
25 the autosizer to crash).
26 </div>
27 <ul style="float:left">
28 <li><div>List item list item list item list item list item list item list item
29 list item list item list item list item list item list item list item list item
30 list item list item list item list item list item list item list item list item</div></li>
31 </ul>
33 </body>
34 </html>