Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / list-marker-with-links-autosizing.html
blob2670758bf4686a74d647a128b2222ceabd36d378
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 #nomarker {
14 list-style-type: none;
16 </style>
18 <script src="resources/autosizingTest.js"></script>
20 </head>
21 <body>
23 <div>
24 The below list items should be autosized to 40px computed font-size (16 * 800/320). Also the corresponding list markers should increase in size appropriately. The whole list is shifted to the right by 8px (14 (autosized marker width) * (1 - 1/2.5) rounded) to compensate the scaling of list item markers and make sure they don't get chopped off.
25 </div>
26 <ul>
27 <li><a>List item with a link</a></li>
28 <li><b>List item with bold text</b></li>
29 <li>Simple plain list item</li>
30 <li><a>List item with a link as part of anonymous block</a><div></div></li>
31 <li id="nomarker">Item without a marker<li>
32 </ul>
34 </body>
35 </html>