| <!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 item markers should be autosized by a factor of 2.5 (800/320). 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">Simple plain list item</li> |
| <li style="font-size: 2.5rem"></li> |
| <li style="font-size: 2.5rem"><img></img></li> |
| <li style="font-size: 2.5rem"><form><input type="text"></input></form></li> |
| </ul> |
| |
| </body> |
| </html> |