Skip to content

Commit

Permalink
Bug 1937928 [wpt PR 49746] - Update customizable select styles, a=tes…
Browse files Browse the repository at this point in the history
…tonly

Automatic update from web-platform-tests
Update customizable select styles

This patch updates background-color and border-radius to the latest
proposal here: w3c/csswg-drafts#10857

Change-Id: Icc6ec70d27cc9f1131f5e164b1db66e63e8847fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6072270
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Mason Freed <masonfchromium.org>
Auto-Submit: Joey Arhar <jarharchromium.org>
Cr-Commit-Position: refs/heads/main{#1397608}

--

wpt-commits: 441d9bfafda626484b081e3cd4964489e9608ca2
wpt-pr: 49746

UltraBlame original commit: f51dac500539a26c8cd42d09fa5bbc5ca877cfe4
  • Loading branch information
marco-c committed Jan 1, 2025
1 parent 3b0d49d commit 67295b7
Show file tree
Hide file tree
Showing 14 changed files with 314 additions and 83 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,17 +376,7 @@ background
-
color
:
color
-
mix
(
in
lab
currentColor
10
%
transparent
)
;
appearance
:
Expand Down Expand Up @@ -420,7 +410,7 @@ radius
:
0
.
25em
5em
;
cursor
:
Expand Down Expand Up @@ -564,6 +554,58 @@ customizable
select
-
button
.
hover
{
background
-
color
:
color
-
mix
(
in
lab
currentColor
10
%
transparent
)
;
}
.
customizable
-
select
-
button
.
active
{
background
-
color
:
color
-
mix
(
in
lab
currentColor
20
%
transparent
)
;
}
.
customizable
-
select
-
button
:
:
after
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
div
class
=
"
customizable
-
select
-
button
active
"
popovertarget
=
popover
Expand Down Expand Up @@ -99,37 +102,6 @@
div
>
<
style
>
.
customizable
-
select
-
button
{
background
-
color
:
color
-
mix
(
in
lab
currentColor
30
%
transparent
)
;
}
<
/
style
>
<
script
>
document
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
=
0
-
29
33
;
totalPixels
=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
=
0
-
12
15
"
>
<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
=
0
-
37
41
;
totalPixels
=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
=
0
-
50
55
;
totalPixels
=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
div
class
=
"
customizable
-
select
-
button
hover
"
popovertarget
=
popover
Expand All @@ -57,34 +60,3 @@
/
div
>
<
style
>
.
customizable
-
select
-
button
{
background
-
color
:
color
-
mix
(
in
lab
currentColor
20
%
transparent
)
;
}
<
/
style
>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
=
0
-
33
37
;
totalPixels
=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
=
0
-
40
41
;
totalPixels
=
Expand Down
Loading

0 comments on commit 67295b7

Please sign in to comment.