Re: [csswg-drafts] [css-box] increase pointer target size independently of element layout (#4708)

One additional related thing we've seem some asks for previously is defining a "shape" for the touch area as well. E.g. somebody is creating a visual effect but wants to limit the hit-test region to a circle/ellipse/arbitrary-path.

(This additional request shouldn't block progress on a "margin" property, I'm bringing it up b/c I  want to make sure we don't exclude this type of request in the future).

This extension point almost fits within the existing `pointer-events` property, e.g. extending by:
`pointer-events: none | auto | <shape-box> || <basic-shape> | <image>`
One possibility for this feature for this particular request would then be:
`pointer-events-margin: <length>`

Ian

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

Received on Wednesday, 5 February 2020 23:44:08 UTC