Re: [csswg-drafts] [css-ui] select:hover and select:active styles (#11185)

> ```css
> select::picker(select) {
>   hover-propagation: stop;
> }
> ```

fwiw, I was imagining something like:

```css
select::picker(select) {
  stop-propagation: hover active focus-within;
}
```

…so you could pick individual things.

> does it affect JS mouse events?

Folks in the meeting didn't think it should, and I'm ok with that. However, if folks decide it should impact related JS events, it's important that it only prevents propagation in the bubbling phase. The capturing phase should be left as-is.

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


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

Received on Thursday, 19 December 2024 10:39:01 UTC