summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/text-autosizing/various-font-sizes-expected.html
blob: 1b9267c4e224439dd070cbc077c6e54923f89186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>
<head>

<meta name="viewport" content="width=800">
<style>
body { width: 800px; margin: 0; overflow-y: hidden; }
</style>

</head>
<body>

<div style="font-size: 20px">
    This should be scaled by 2.5x to become 20px (since it was small, it got fully multiplied).
</div>
<div style="font-size: 40px">
    This should be scaled by 2.5x to become 40px (since it was small, it got fully multiplied).
</div>
<div style="font-size: 48px">
    This should be scaled by 1.5x to become 48px (since it was medium size, it got multiplied less).
</div>
<div style="font-size: 56px">
    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>