Re: [csswg-drafts] [css-ui-4] pointer-events should have a filtering capability (#6280)

I believe `pointer-events` should rather have been introduced as some kind of JavaScript API as it defines the interaction with elements. But here we are now and the property is supported everywhere for a long time.

Therefore, it somewhat makes sense to me to extend that property to filter the events it handles. An important question is how fine-grained the control should be that authors have over events. E.g. does it make sense to allow hover events, pass through move events and stop any other events? Do people want to pass through pointer down events but stop pointer up events?
And which of those possibilities are better left to JavaScript?

Sebastian

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


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

Received on Tuesday, 11 May 2021 21:39:54 UTC