Skip to content

Commit 48ecb93

Browse files
committed
Bug 1935176 [wpt PR 49524] - Test that setting background-color on ::column has no effect, a=testonly
Automatic update from web-platform-tests 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 <futharkchromium.org> Reviewed-by: Morten Stenshorne <mstenshochromium.org> Cr-Commit-Position: refs/heads/main{#1391670} -- wpt-commits: 1943797cd0568b7e0088b77a8e499a56a53870b5 wpt-pr: 49524 UltraBlame original commit: d9a16c9173b585ecc19077147ed53910b3fc807c
1 parent 75c7158 commit 48ecb93

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)