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; }
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.
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.
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.