blob: 2b2fb61c6b844eefc23c808eaf2d7674cc7d7f09 [file] [log] [blame]
<!DOCTYPE html>
<meta name="viewport" content="width=800">
html { font-size: 16px; }
body { width: 800px; margin: 0; overflow-y: hidden; }
<table cellpadding="0" cellspacing="0">
<tr><td style="white-space:nowrap">
This text should not be autosized because this text does not wrap. Non-wrapped text is likely to break layout if autosized.
<tr><td style="font-size: 2.5rem">
This text should be autosized to 40px computed font-size (16 * 800/320).<br>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris ni si ut aliquip ex ea commodo consequat.