blob: 131fde57789d9aa83a3b9c328bb8a0fca0f19579 [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>
<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 36px (60 (widest autosized marker width) * (1 - 1/2.5) rounded) to compensate the scaling of list item numbers and make sure they don't get chopped off.
</div>
<ol>
<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
<li>plain text</li>
<li><a href='#'>hyperlinked</a></li>
<li><a href='#'>hyperlinked</a> example</li>
<li><em>emphasized</em></li>
<li><em>emphasized</em> example</li>
<li><b>bold</b></li>
<li><b>bold</b> example</li>
<li><i>italic</i></li>
<li><i>italic</i> example</li>
<li><del>strikethrough</del></li>
<li><del>strikethrough</del> example</li>
</ol>
</body>
</html>