blob: 317cb381f8c829239fb3f8bafd1890268d518391 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=800">
<style>
html { font-size: 16px; }
body { width: 800px; margin: 0; overflow-y: hidden; }
</style>
<script src="resources/autosizingTest.js"></script>
</head>
<body>
<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.
</td></tr>
<tr><td>
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.
</td></tr>
</table>
</body>
</html>