3 <link href=
"resources/flexbox.css" rel=
"stylesheet">
6 -webkit-writing-mode: vertical-lr;
7 writing-mode: vertical-lr;
11 <script src=
"../../resources/check-layout.js"></script>
12 <body onload=
"checkLayout('.inline-flexbox')">
14 <p>Tests that we calculate correct intrinsic widths when orthogonal flows are involved.
</p>
16 <div class=
"inline-flexbox" data-expected-width=
"20">
17 <div class=
"vertical" style=
"width: 20px; height: 50px;"></div>
20 <div class=
"inline-flexbox" data-expected-width=
"20">
21 <div class=
"vertical" style=
"line-height: 20px;">Some text
</div>
25 <!-- This should really have a width of 20. However intrinsic widths with
26 orthogonal flows are tricky. This now matches behavior of regular
28 http://crbug.com/473429
30 <div class=
"inline-flexbox" data-expected-width=
"0">
31 <span class=
"vertical" data-expected-width=
"20" style=
"line-height: 20px;">Some text
</span>