blob: 6a536a700d44c1cea4e8250c0919ec31b868429c [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;
}
</style>
</head>
<body>
<div style="font-size: 2.5rem">
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 style="font-size: 2.5rem"><a>List item with a link</a></li>
<li style="font-size: 2.5rem"><b>List item with bold text</b></li>
<li style="font-size: 2.5rem">Simple plain list item</li>
<li style="font-size: 2.5rem"><a>List item with a link as part of anonymous block</a><div></div></li>
<span style="font-size: 2.5rem">Item without a marker</span>
</ul>
</body>
</html>