4 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=
104702</title>
5 <meta name=
"viewport" content=
"width=800">
7 html { font-size:
16px; }
8 body { width:
800px; margin:
0; overflow-y: hidden; }
11 <script src=
"resources/autosizingTest.js"></script>
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.
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.
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.