| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html style="font-size: 16px"> | 2 <html style="font-size: 16px"> |
| 3 <head> | 3 <head> |
| 4 | 4 |
| 5 <meta name="viewport" content="width=800"> | 5 <meta name="viewport" content="width=800"> |
| 6 <style> | 6 <style> |
| 7 body { | 7 body { |
| 8 width: 800px; | 8 width: 800px; |
| 9 margin: 0; | 9 margin: 0; |
| 10 overflow-y: hidden; | 10 overflow-y: hidden; |
| 11 overflow-x: hidden; | 11 overflow-x: hidden; |
| 12 } | 12 } |
| 13 </style> | 13 </style> |
| 14 | 14 |
| 15 </head> | 15 </head> |
| 16 <body> | 16 <body> |
| 17 | 17 |
| 18 <div style="font-size: 2.5rem"> | 18 <div style="font-size: 2.5rem"> |
| 19 The below list item markers should be autosized by a factor of 2.5 (800/320). Th
e 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 the
y don't get chopped off. | 19 The below list item markers should be autosized by a factor of 2.5 (800/320). Th
e 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 the
y don't get chopped off. |
| 20 </div> | 20 </div> |
| 21 <ul style="-webkit-margin-start: 8px"> | 21 <ul> |
| 22 <li style="font-size: 2.5rem">Simple plain list item</li> | 22 <li style="font-size: 2.5rem">Simple plain list item</li> |
| 23 <li style="font-size: 2.5rem"></li> | 23 <li style="font-size: 2.5rem"></li> |
| 24 <li style="font-size: 2.5rem"><img></img></li> | 24 <li style="font-size: 2.5rem"><img></img></li> |
| 25 <li style="font-size: 2.5rem"><form><input type="text"></input></form></li> | 25 <li style="font-size: 2.5rem"><form><input type="text"></input></form></li> |
| 26 </ul> | 26 </ul> |
| 27 | 27 |
| 28 </body> | 28 </body> |
| 29 </html> | 29 </html> |
| OLD | NEW |