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

The [CSS UI property `pointer-events`](https://drafts.csswg.org/css-ui-4/#pointer-events-control) is currently intended for “exclusion from hit-testing” with just `auto` and `none` keywords supported, whereas the [SVG property `pointer-events`](https://svgwg.org/svg2-draft/interact.html#PointerEventsProp) has more possible values: `auto | bounding-box | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | none`. (The spec even has a note on this already, though I did not find a dedicated issue for that.)

It seems intuitive to reuse it for finer control of the hit-testing area. As a start, this could be as simple as just adding one of the predefined sets of [box-edge keywords](https://drafts.csswg.org/css-box-4/#keywords).

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


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

Received on Thursday, 6 November 2025 15:29:32 UTC