Re: [csswg-drafts] Proposal for a user interaction :drag pseudo-class (#11584)

> Given that you and I have read the same issue and arrive at very different conclusions about what it is asking, I don't believe the original request is clear.

😅

> [@bramus](https://github.com/bramus) while I agree that what you are asking for is useful, what made me think that this is about scrolling is that the example was all about setting overflow. The OP example was:
> 
> ```css
> .menu-bar:drag {
>   overflow-x: auto; /* Enable horizontal scrolling while dragging */
> }
> ```

I _think_ the example should be this, for it to make sense with the rest of the text:

```css
.menu-bar:has(.menu-bar-item:dragged) {
  overflow-x: auto;
}
```

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


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

Received on Wednesday, 7 January 2026 17:09:08 UTC