W3C home > Mailing lists > Public > public-pointer-events@w3.org > October to December 2017

[pointerevents] pointer-events for pseoudo-elements

From: Binyamin Laukstein via GitHub <sysbot+gh@w3.org>
Date: Sun, 26 Nov 2017 19:31:50 +0000
To: public-pointer-events@w3.org
Message-ID: <issues.opened-276849650-1511724709-sysbot+gh@w3.org>
laukstein has just created a new issue for https://github.com/w3c/pointerevents:

== pointer-events for pseoudo-elements ==
https://w3c.github.io/pointerevents/ doesn't mention anything regarding `pointer-events` and pseoudo-elements (`:before` and `:after`).

And currently seems no browser supports

```
<a href=#test></a>

a:before {
    content: "Link";
    pointer-events: none;
}
```
testcase https://output.jsbin.com/telawab/quiet

Wouldn't `pointer-events` be expected to be supported also in pseoudo-elements? In this case, means, link mustn't be clickable, right?

Maybe would be worth to mention anything in spec.

Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/230 using your GitHub account
Received on Sunday, 26 November 2017 19:31:56 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 26 November 2017 19:31:57 UTC