[csswg-drafts] ::backdrop does not prevent clicks below when pointer-events: none applied. Should it? (#13100)

benfrain has just created a new issue for https://github.com/w3c/csswg-drafts:

== ::backdrop does not prevent clicks below when pointer-events: none applied. Should it? ==
One of the useful things about `dialog` and `popover` is having the `::backdrop` pseudo element to add a background mask to content. However, whilst it can be used to visually obfuscate content below, even when adding a declaration of `pointer-events: none`, clicks still make their way to the content below.

Is there a specific reason this is the case, or could it be amended so that `pointer-events: none;` stops clicks making it through `::backdrop`?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13100 using your GitHub account


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

Received on Wednesday, 12 November 2025 11:42:03 UTC