blob: 8447f74a5e20adb76f7b31943e866416501bc1a9 [file] [log] [blame]
<!DOCTYPE html>
<meta name="viewport" content="width=800">
html { font-size: 16px; }
body { width: 800px; margin: 0; overflow-y: hidden; }
<script src="resources/autosizingTest.js"></script>
<div style="width: 600px">
This text should be autosized to 40px computed font-size as it is a part of the same cluster as the parent div.<br>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<div style="width: 320px">
This text is not autosized since it's too narrow and is considered to be a separate autosizing cluster.