You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the meter, and progress elements should be removed from this second rule (they also already get a transparent background-color from the base rule). [type=checkbox][switch] should also be added to the not selector on the first line.
The text was updated successfully, but these errors were encountered:
Yeah, the UA styles are definitely not finished. I'm hoping implementation/prototyping/polyfills might be able to help finalize the final set of CSS (like it did for select).
lukewarlow
changed the title
[css-forms-1] Double border style for progress and meter
[css-forms-1] Double border style for progres, meter and input[type=checkbox][switch]
Mar 9, 2025
Alternative to my suggestion in OP we could remove the border from the track and add it to the host element. Which in my prototyping of switch seems to get you more logical sizing and positioning.
Per https://drafts.csswg.org/css-forms/#layout
Meter, Progress and switch inputs get a double border, once on the "host" element, once on the inner track.
I think the meter, and progress elements should be removed from this second rule (they also already get a transparent background-color from the base rule). [type=checkbox][switch] should also be added to the not selector on the first line.
The text was updated successfully, but these errors were encountered: