Bug 237892
| Summary: | Support cursor CSS property on pseudo-elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | prashant.chitti |
| Component: | CSS | Assignee: | Tim Nguyen (:ntim) <ntim> |
| Status: | RESOLVED FIXED | ||
| Severity: | Major | CC: | koivisto, mic.gallego, ntim, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | Mac (Intel) | ||
| OS: | Unspecified | ||
prashant.chitti
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/90364915>
Tim Nguyen (:ntim)
*** This bug has been marked as a duplicate of bug 283703 ***
Tim Nguyen (:ntim)
Going to reverse dupe actually.
Tim Nguyen (:ntim)
*** Bug 283703 has been marked as a duplicate of this bug. ***
Tim Nguyen (:ntim)
*** Bug 297038 has been marked as a duplicate of this bug. ***
Tim Nguyen (:ntim)
Pull request: https://github.com/WebKit/WebKit/pull/49444
EWS
Committed 298777@main (256047f037f2): <https://commits.webkit.org/298777@main>
Reviewed commits have been landed. Closing PR #49444 and removing active labels.