Skip to content

Commit 1943797

Browse files
lilleschromium-wpt-export-bot
authored andcommitted
Test that setting background-color on ::column has no effect
Bug: 365680822 Change-Id: Iea120f4768f8506d2caec9aa1dd552b150ba3768 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6068729 Commit-Queue: Rune Lillesveen <[email protected]> Reviewed-by: Morten Stenshorne <[email protected]> Cr-Commit-Position: refs/heads/main@{#1391670}
1 parent 1d55057 commit 1943797

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!DOCTYPE html>
2+
<title>CSS Test Reference</title>
3+
<p>You should see no red or "FAIL" below.</p>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!DOCTYPE html>
2+
<title>CSS Multi-column Layout Test: ::column background-color has no effect</title>
3+
<link rel="help" href="https://drafts.csswg.org/css-multicol-2/#column-pseudo">
4+
<link rel="match" href="column-pseudo-background-color-ref.html">
5+
<style>
6+
@supports not selector(::column) {
7+
#multicol::before {
8+
content: "FAIL";
9+
}
10+
}
11+
#multicol {
12+
width: 100px;
13+
height: 100px;
14+
column-count: 1;
15+
}
16+
#multicol::column {
17+
background-color: red;
18+
}
19+
#content {
20+
width: 100px;
21+
height: 100px;
22+
}
23+
</style>
24+
<p>You should see no red or "FAIL" below.</p>
25+
<div id="multicol">
26+
<div id="content"></div>
27+
</div>

0 commit comments

Comments
 (0)