Upstream version 11.40.277.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / text-autosizing / list-marker-with-links-autosizing.html
1 <!DOCTYPE html>
2 <html style="font-size: 16px">
3 <head>
4
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;
12   }
13   #nomarker {
14     list-style-type: none;
15   }
16 </style>
17
18 <script src="resources/autosizingTest.js"></script>
19
20 </head>
21 <body>
22
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>
33
34 </body>
35 </html>