Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/flexbox_object.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>flexbox | object fallback as a flex item</title>
<link rel="help"
<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>