summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/text-autosizing/contenteditable-fontsize-change.html
blob: d3e135ddd44f8625fafb6c3050fa4d92ce0aeb06 (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
<!DOCTYPE html>
<html style="font-size: 16px">
<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>

<section contenteditable="true">
The text inside this textarea should be autosized to 40px computed font-size (16 * 800/320).
</section>

</body>
</html>