1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
7 This test verifies that 'float' on a grandchild of a flex container _will_
8 cause the element to be floated.
10 This differs from the "2a" variant in that the flex items are <div>s
11 rather than <span>s (though that shouldn't matter, because <span> as a
12 flex item should become "display:block").
14 <html xmlns=
"http://www.w3.org/1999/xhtml">
19 font-family: sans-serif;
22 background: lightgreen;
23 justify-content: space-around;
28 <!-- These cases have a floated span as a grandchild of the flex container.
29 The span should float within its flex item. -->
31 <div>aaa
<span style=
"float: left">lll
</span>bbb
</div>
34 <div>aaa
<span style=
"float: right">rrr
</span>bbb
</div>
37 <!-- These cases have a floated div as a grandchild of the flex container.
38 The div should float within its flex item. -->
40 <div>aaa
<div style=
"float: left">lll
</div>bbb
</div>
43 <div>aaa
<div style=
"float: right">rrr
</div>bbb
</div>