W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2017

Re: [csswg-drafts] [css4-ui] pointer-events for pseudo-elements

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Mon, 27 Nov 2017 22:35:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-347351991-1511822143-sysbot+gh@w3.org>
It seems to me that nothing is wrong here. If you have the following code:
<a href="#test"><span style="pointer-events: none">link</span></a>
the link is still clickable in browsers.

I'm not familiar with exactly how `pointer-events` should work, but it seems that the pseudo-element case is consistent with the example above, because `::before` and `::after` should behave as if they are children of the matched element.

GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2012#issuecomment-347351991 using your GitHub account
Received on Monday, 27 November 2017 22:35:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 27 November 2017 22:35:51 UTC