- From: Simon Fraser via GitHub <sysbot+gh@w3.org>
- Date: Mon, 09 Dec 2024 19:53:56 +0000
- To: public-css-archive@w3.org
smfr has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-masking] Impact of masks on hit-testing needs to be specified == Currently, [CSS Masking](https://drafts.fxtf.org/css-masking/#the-mask) says nothing about whether masks impact hit-testing (i.e. if clicks on the masked-out part of the content are treated as a click on the element). Chrome and Firefox do consult the mask for hit-testing; WebKit does not. Test: https://codepen.io/therealpaulplay/pen/wBwGdXX This was [reported as a bug](https://bugs.webkit.org/show_bug.cgi?id=284227) in WebKit. CSS has historically shied away from specifying hit-testing, but I think this one is important. Also of note is that the spec does talk about the [impact of clip-path on hit-testing](https://drafts.fxtf.org/css-masking/#clipping-paths). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11339 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 9 December 2024 19:53:57 UTC