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

The CSS Working Group just discussed `Proposal for a user interaction :drag pseudo-class`, and agreed to the following:

* `SUMMARY: We need more clarification on what this request is about.`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> https://lists.w3.org/Archives/Member/w3c-css-wg/2025OctDec/0156.html<br>
&lt;ydaniv> fantasai: want to remind ppl about pole to F2F<br>
&lt;fantasai> also register for the Winter F2F ! https://wiki.csswg.org/planning/cupertino-2026<br>
&lt;ChrisL> s/pole/poll<br>
&lt;ydaniv> Rossen3: proposal for interactions on :drag pseudo-class<br>
&lt;ydaniv> fantasai: mainly added this because was proposed by someone out of the group<br>
&lt;ydaniv> flackr: I don't feel this is well thought of<br>
&lt;ydaniv> ... naively just doesn't work<br>
&lt;Rossen3> q?<br>
&lt;ydaniv> ... proposal is to have a :hover-drag class, when dragging and scrolling<br>
&lt;ydaniv> ... they want to enable scrollbars while dragging<br>
&lt;ydaniv> ... it's problematic because you can't start a scroll on something that's not scrollable, also part of an anti pattern<br>
&lt;ydaniv> ... the UA doesn't know it's scrollable<br>
&lt;smfr> q+<br>
&lt;bramus> q+<br>
&lt;ydaniv> ... feel like we shouldn't persue this<br>
&lt;Rossen3> ack smfr<br>
&lt;ydaniv> smfr: I think I agree, it uses selection changing<br>
&lt;PaulG5> also scrollbars are an affordance and adding them after someone starts a scroll is backwards<br>
&lt;ydaniv> ... when you drag a box around<br>
&lt;TabAtkins> +1 to flackr, some of the dragging pseudos were done in anticipation of HTML getting a more declarative drag mechanism, but they walked those back. there's just not any reasonable signals left to work with.<br>
&lt;Rossen3> ack bramus<br>
&lt;ydaniv> ... the UA creates a snapshots around an application, so agree with previous stmts<br>
&lt;ydaniv> bramus: I agree the issue is a bit confusing what it's about<br>
&lt;ydaniv> ... this type of selector makes sense, you're actually dragging an element around, so functionally makes sense<br>
&lt;ydaniv> smfr: does the style only apply to the eelement dragged?<br>
&lt;ydaniv> bramus: the original location you're dragging<br>
&lt;ydaniv> ... so set a drag image and override the thing you're dragging<br>
&lt;ydaniv> flackr: didn't seem to be about d&amp;d<br>
&lt;ydaniv> ... like I want to make something scrollable while dragging<br>
&lt;ydaniv> smfr: maybe back to issue for clarifications<br>
&lt;ydaniv> flackr: agree<br>
&lt;ydaniv> Rossen3: so need to check whehter this is about d&amp;d behavior or about the scrolling issue<br>
&lt;ydaniv> ... which is something the group has issues with<br>
&lt;fantasai> SUMMARY: We need more clarification on what this request is about.<br>
</details>


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


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

Received on Wednesday, 10 December 2025 17:12:34 UTC