Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / clusters-sufficient-width.html
blob373a59ca22b56b55b60c60921666718b2b0ba069
1 <!DOCTYPE html>
2 <html>
3 <head>
5 <meta name="viewport" content="width=800">
6 <style>
7 html { font-size: 16px; }
8 body { width: 800px; margin: 0; overflow-y: hidden; }
9 </style>
11 <script src="resources/autosizingTest.js"></script>
13 </head>
14 <body>
16 <div style="position: absolute; overflow: auto; width: 400px">
17 This text should be autosized to 20px computed font size (16 * 400/320), since the position:absolute causes this to be a new cluster.
18 </div>
20 <div style="margin-top: 100px; float: left; width: 420px">
21 This text should be autosized to 21px computed font size (16 * 420/320), since the float:left causes this to be a new cluster.
22 </div>
24 <table cellspacing="0" cellpadding="0">
25 <tr>
26 <td style="width: 380px;">
27 This text should be autosized to 19px computed font size (16 * 380/320), since being a table cell causes this to be a new cluster.
28 </td>
29 </tr>
30 </table>
32 <div style="-webkit-writing-mode: vertical-rl; height: 440px">
33 This text should be autosized to 22px computed font size (16 * 440/320), since the perpendicular writing-mode compared to its containing block causes this to be a new cluster. Unfortunately due to <a href="https://bugs.webkit.org/show_bug.cgi?id=96557">http://webkit.org/b/96557</a> the height:440px is incorrectly interpreted as constraining the logicalHeight, so it doesn't get autosized.
34 </div>
36 </body>
37 </html>