fixed-width-body-viewport-ref.html (842B)
1 <!DOCTYPE HTML> 2 <!-- 3 Our body is 2000px wide, but the effective container size for font inflation will be clamped to the 4 viewport width of 1000px (this test uses a custom value for browser.viewport.desktopWidth). 5 The minimum font size at 20em per line in an 1000px container is 50px. This means we map 0px-75px 6 into 50px-75px, so 12px gets mapped to 54px. 7 --> 8 <html> 9 <head> 10 <style> 11 body { 12 width: 2000px; 13 line-height: 1.1; 14 font-size: 54px; 15 overflow: hidden; 16 -moz-text-size-adjust: none; 17 } 18 </style> 19 </head> 20 <body> 21 PERSONS attempting to find a motive in this narrative will be prosecuted; 22 persons attempting to find a moral in it will be banished; 23 persons attempting to find a plot in it will be shot.<br> 24 BY ORDER OF THE AUTHOR,<br> 25 Per G.G., Chief of Ordnance. 26 </body> 27 </html>