blob: 6b8e169dd5450b9fd879ee1aacf03e37d14ba6ba [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>
<script>
setFontScaleFactor(2);
</script>
</head>
<body>
<div>
This text should be autosized to 80px computed font-size (16 * 800/320 * 2, where 2 is the fontScaleFactor).<br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sapien sapien, tempus id egestas a, consectetur et felis. Ut pharetra mi eget lectus laoreet rutrum. Mauris tellus odio, egestas vitae sodales in, vehicula eget ante. Pellentesque id egestas arcu. Quisque tellus quam, rhoncus ac elementum vel, volutpat vel felis. Aliquam ut leo dolor, eget egestas tellus. Nunc ut velit gravida nisl fringilla rutrum eget at arcu. Vivamus et pretium mauris.
</div>
</body>
</html>