blob: 2670758bf4686a74d647a128b2222ceabd36d378 [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;
}
#nomarker {
list-style-type: none;
}
</style>
<script src="resources/autosizingTest.js"></script>
</head>
<body>
<div>
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.
</div>
<ul>
<li><a>List item with a link</a></li>
<li><b>List item with bold text</b></li>
<li>Simple plain list item</li>
<li><a>List item with a link as part of anonymous block</a><div></div></li>
<li id="nomarker">Item without a marker<li>
</ul>
</body>
</html>