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

> My preference would be for 1. or what I just described. An opt-in attribute/CSS property would be quite difficult to understand for the majority of cases I think.

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

seems relatively easy to understand, doesn't it? It goes right on the "border" element where bubbling should stop. That's in contrast to the proposed variations for <span>#</span>4 where you have to apply a property to an entire sub-tree, minus a "donut" of that sub-tree.

I'm obviously "ok" with option <span>#</span>1 also, but it doesn't address some of the non-top-layer use cases that were raised in the meeting, like carousel pseudo elements.

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


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

Received on Wednesday, 18 December 2024 22:33:52 UTC