Bug 237892 - CSS cursor on Pseudo Elements
Summary: CSS cursor on Pseudo Elements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 15
Hardware: Mac (Intel) Unspecified
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-15 07:03 PDT by prashant.chitti
Modified: 2022-03-18 17:48 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description prashant.chitti 2022-03-15 07:03:02 PDT
Cursor property has no effect when applied on pseudo elements like ::after and ::before.

Visit this link https://jsfiddle.net/PrashantChitti/sfp5z2aL/3/ in Chrome and Safari to notice the difference.

Current behavior: Cursor pointer doesn't appear on hovering over pseudo element.

Expected behavior: Cursor pointer should appear on hovering over pseudo element (like it does on Chromium).

Here is a link to a similar bug which was resolved in Chromium https://bugs.chromium.org/p/chromium/issues/detail?id=240119.
Comment 1 Radar WebKit Bug Importer 2022-03-16 05:41:14 PDT
<rdar://problem/90364915>