blob: 663b83efeac2c792015779d767c35e135b00b741 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=800">
<style>
body { width: 800px; margin: 0; overflow-y: hidden; }
</style>
<script src="resources/autosizingTest.js"></script>
</head>
<body>
<div style="font-size: 8px">
This should be scaled by 2.5x to become 20px (since it was small, it got fully multiplied).
</div>
<div style="font-size: 16px">
This should be scaled by 2.5x to become 40px (since it was small, it got fully multiplied).
</div>
<div style="font-size: 32px">
This should be scaled by 1.5x to become 48px (since it was medium size, it got multiplied less).
</div>
<div style="font-size: 48px">
This should be scaled by 1.17x to become 56px (since it was large, it got multiplied much less).
</div>
<div style="font-size: 64px">
This should not be scaled at all, hence remain 64px (since it was huge, it didn't get multiplied at all).
</div>
</body>
</html>