06:11
<knowler>

Has there been any discussion around non-CSS custom cursors (i.e. an element that follows the mouse coords) and top-layer? top-layer effectively breaks all existing solutions.

I’ve been able to abuse a manual popover to keep the cursor on top (https://codepen.io/knowler/pen/PoLNNKB), but that’s not perfect since there’s no reliable way of knowing when something new becomes the topmost top-layer.

I will admit that non-CSS custom cursors aren’t great, but it’s not uncommon. Seems like maybe a document author use-case for the overlay property or maybe something CSS needs to allow better customization around (specifically in regard to animation which is generally why people implement custom cursors this way).

07:36
<annevk>
knowler: I think a write-up on https://github.com/w3c/csswg-drafts/issues/new explaining why CSS custom cursors exist and how they're running into issues due to the top layer would be helpful. Keep https://whatwg.org/faq#adding-new-features in mind, in particular 1.