Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-multicol/column-pseudo-background-color.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Multi-column Layout Test: ::column background-color has no effect</title>
<link rel="match" href="column-pseudo-background-color-ref.html">
<style>
@supports not selector(::column) {
#multicol::before {
content: "FAIL";
}
}
#multicol {
width: 100px;
height: 100px;
column-count: 1;
}
#multicol::column {
background-color: red;
}
#content {
width: 100px;
height: 100px;
}
</style>
<p>You should see no red or "FAIL" below.</p>
<div id="multicol">
<div id="content"></div>
</div>