Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/flexbox_object.html
<!DOCTYPE html> <title>flexbox | object fallback as a flex item</title> <link rel="author" href="http://opera.com" title="Opera Software"> <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property"> <link rel="match" href="flexbox_object-ref.html"> <style> div { background: #ffcc00; justify-content: space-around; display: flex; } div>* { background: #3366cc; margin: 0; } object { overflow: clip; } </style> <div> <object>this is supposed to be a flex item</object> <p>this is supposed to be a flex item</p> </div>
/css/css-flexbox/flexbox_object-ref.html
<!DOCTYPE html> <title>flexbox | object fallback as a flex item</title> <link rel="author" href="http://opera.com" title="Opera Software"> <style> div { background: #ffcc00; justify-content: space-around; display: flex; } div>* { background: #3366cc; margin: 0; } .clip { overflow: clip; } </style> <div> <p class="clip">this is supposed to be a flex item</p> <p>this is supposed to be a flex item</p> </div>