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_generated.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>flexbox | flexcontainer vs generated content</title>
<link rel="match" href="flexbox_generated-ref.html">
<style>
div {
background: #3366cc;
display: flex;
}
div::after, p {
content: "xxx";
background: yellow;
margin: 1em;
width: 200px;
height: 2em;
}
div::after {
content: "yyy";
display: block;
}
</style>
<div>
<p>FAIL</p>
</div>