blob: ae0cd2e9608cfee74f8e269e588642229f5f8bf6 [file] [log] [blame]
<!DOCTYPE html>
#flexbox {
background-color: lightgrey;
#flexbox > * {
border: 1px solid green;
vertical-align: top;
This example is from the spec. There should be four flex items. Anonymous item 3 shouldn't have
a green border because the anonymous block is the flex item.
<div id="flexbox">
<div style="display: inline-block">block</div><div
style="display: inline-block">float</div><div
style="display: inline-block; border: 0">anonymous item 3</div><div
style="display: inline-block">
item 4<br>
item 4<br>
item 4