fixed-width-viewport-no-inflation.html (570B)
1 <!DOCTYPE html> 2 <!-- 3 In a 450px container, the minimum font size at 15em per line is 30px. 4 This means we map 0px-45px into 30px-45px, so 12px gets mapped to 34px. 5 --> 6 <html> 7 <head> 8 <meta name="viewport" content="width=800"/> 9 <style> 10 div { width: 450px; font-size: 12px; line-height: 1.0; } 11 </style> 12 <script> 13 if (location.search) 14 document.documentElement.setAttribute("reftest-zoom", location.search.substr(1)) 15 </script> 16 </head> 17 <body> 18 <div id="outer"> 19 <div>Some uninflated text.</div> 20 </div> 21 </body> 22 </html>