| <!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 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 style="font-size: 2.5rem">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li> |
| <li style="font-size: 2.5rem">plain text</li> |
| <li style="font-size: 2.5rem"><a href='#'>hyperlinked</a></li> |
| <li style="font-size: 2.5rem"><a href='#'>hyperlinked</a> example</li> |
| <li style="font-size: 2.5rem"><em>emphasized</em></li> |
| <li style="font-size: 2.5rem"><em>emphasized</em> example</li> |
| <li style="font-size: 2.5rem"><b>bold</b></li> |
| <li style="font-size: 2.5rem"><b>bold</b> example</li> |
| <li style="font-size: 2.5rem"><i>italic</i></li> |
| <li style="font-size: 2.5rem"><i>italic</i> example</li> |
| <li style="font-size: 2.5rem"><del>strikethrough</del></li> |
| <li style="font-size: 2.5rem"><del>strikethrough</del> example</li> |
| </ol> |
| |
| </body> |
| </html> |