Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / textarea-fontsize-change.html
blob2651a6904a056bea7257516e2c0b6ed6a8935293
1 <!DOCTYPE html>
2 <html style="font-size: 16px">
3 <head>
5 <meta name="viewport" content="width=800">
6 <style>
7 body {
8 width: 800px;
9 margin: 0;
10 overflow-y: hidden;
12 /* Avoid complications from scrollbar changing the width which changes the
13 * text autosizing multiplier. Mobile uses overlay scrollbars anyway.
15 textarea::-webkit-scrollbar {
16 display: none;
18 </style>
20 <script src="resources/autosizingTest.js"></script>
22 </head>
23 <body>
25 <textarea rows="12" style="width: 100%; font-size: 16px">
26 The text inside this textarea should be autosized to 40px computed font-size (16 * 800/320). Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
27 </textarea>
29 </body>
30 </html>