Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / cluster-inline-grid-flex-box-expected.html
blobd7415420f234d261d6e02892500be37f514ca9f8
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=104702</title>
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 </head>
12 <body>
13 <div>
14 <div>
15 <div style="display: inline-grid; width: 600px; font-size: 1.875rem">
16 This element becomes a separate autosizing cluster since it's a inline-grid element. Hence its computed font size is 30px (16 * 600 / 320).<br>
17 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
18 </div>
19 </div>
20 <div>
21 <div style="display: -webkit-inline-flex; width: 400px; font-size: 1.25rem">
22 This element becomes a separate autosizing cluster since it's a -webkit-inline-flex element. Hence its computed font size is 20px (16 * 400 / 320).<br>
23 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
24 </div>
25 </div>
26 <div>
27 <div style="display: -webkit-inline-box; width: 600px; font-size: 1.875rem">
28 This element becomes a separate autosizing cluster since it's a -webkit-inline-box element. Hence its computed font size is 30px (16 * 600 / 320).<br>
29 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
30 </div>
31 </div>
32 </div>
33 </body>
34 </html>