Skip to content

[css-forms-1] Remove ::slider-track from layout rule #11984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lukewarlow
Copy link
Member

Fixes #11841

The alternative considered was to remove progress, meter and add [type=checkbox][switch] to the input:not selector. I think it makes more sense for the border to be on the host element though (both from an easy of styling perspective and from a layout perspective).

@lukewarlow lukewarlow changed the title [css-forms-1] Remove ::track from layout rule [css-forms-1] Remove ::slider-track from layout rule Apr 30, 2025
@lukewarlow
Copy link
Member Author

cc @nt1m does this seem reasonable to merge? Or should I try and get a discussion in the group for which approach is best? Seems like a bug fix personally?

@nt1m
Copy link
Member

nt1m commented May 1, 2025

It kind of depends on which way to go, if you want the more traditional slider style with the track smaller than the thumb, then maybe it makes more sense to remove the border from the host element rather the track.

Either way we go I'm fine accepting it as a bug fix in the short term, but it would be good to discuss that bigger decision in the WG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[css-forms-1] Double border style for progres, meter and input[type=checkbox][switch]
2 participants