Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / cluster-inline-grid-flex-box.html
blob0a80d397b79dfe07add38806a92b03f408cde01d
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 <script src="resources/autosizingTest.js"></script>
13 </head>
14 <body>
15 <div>
16 <div>
17 <div style="display: inline-grid; width: 600px">
18 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>
19 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
20 </div></div>
21 <div>
22 <div style="display: -webkit-inline-flex; width: 400px">
23 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>
24 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
25 </div></div>
26 <div>
27 <div style="display: -webkit-inline-box; width: 600px">
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></div>
31 </div>
32 </body>
33 </html>