summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change-expected.html
blob: a671cdac03dfbf23fc79e0a42a92fc1a6eed76e4 (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
<!DOCTYPE html>
<html style="font-size: 16px">
<head>
<meta name="viewport" content="width=800">
<style>
  body {
    width: 800px;
    margin: 0;
    overflow-y: hidden;
  }
</style>
</head>
<body>
<div style="font-size: 2.5rem">
    This paragraph should be autosized to 40px<br/>
    because it contains line breaks.<br/>
    This test is intended to check<br/>
    that there are no oscillations due to javascript<br/>
    briefly increasing the font size of a<br/>
    small paragraph below.
</div>
<div id="sizechanging" style="position: absolute; bottom: 0;">
    This text changes size using javascript below.
</div>
</body>
</html>