Re: [csswg-drafts] [css-selectors] Add pseudo for active/valid file drop targets (#9205)

> This selector would activate when the user's drag coordinates are intersecting with the elements bounds, and would deactivate when the user moves the file off of the element.

Maybe another state is needed to indicate all drop targets on a page when a user is dragging a file around.

If there is some time between seeing a file upload field and finding the file you need to upload you might have forgotten where the actual file upload is. Highlighting all drop targets when the cursor intersects with the window might also be helpful.

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


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

Received on Thursday, 17 August 2023 17:01:14 UTC