Re: [csswg-drafts] [css-ui] Clarify why `user-select: none` should be the default for button, meter, progress, select (#9709)

I came across the discrepency between browsers with these styles the other day. I think it would be good to standardise and make the UA stylesheet interopable in this regard.

Gecko's relevant UA styles below (there's other properties in the selectors but this is what's relevant):

```css
button,
::file-selector-button,
input:is([type=color], [type=reset], [type=button], [type=submit]) {
  user-select: none;
}

select {
  user-select: none;
}
```

Gecko has user-select of `auto` for meter and progress.

Blink has user-select of `auto` for buttons, and select as well as meter and progress.

WebKit has -webkit-user-select of `text` for buttons, and select as well as meter and progress.

-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9709#issuecomment-2041439088 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 7 April 2024 11:34:44 UTC