Re: [csswg-drafts] [css-ui]Spec for cursor during selection? (#1691)

**Q**: Has there been consideration somewhere about making the UA allowance a general rule about granting cursor-override privileges to items 'closer' to the system, i.e. shallower in the dom ?

Currently if an element in a shadow has a cursor value, that rule will have precedence over rules outside of the shadow. Of course this precedence makes sense when considering the internal styling of that shadow tree but the cursor is not a child of that tree. Nor does it seem safe to say, conceptually I don't think, that the cursor is 'on loan' or under some kind of temporary but exclusive control of the deepest element it touches. However, outer elements have no say over what a shadow tree enclosed child element might want to do with the cursor style. 

Thus you can get situations where a widget that is responsible for consuming and managing sub widgets is not able to over-ride the cursor based on its state in the same way the system is allowed to override the cursor based on _its_ state.

Similar to the UA allowance, cursor styling seems like a weird case where it should be possible for priority to be reversed via some mechanism in order to handle the same categories that the UA allowance admits. 

I'm assuming that this phenomena has been thoughtfully considered somewhere else but the posts here have been the closest I've found so far. Apologies if I'm rehashing something ignorantly. 

-- 
GitHub Notification of comment by IanBellomy
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1691#issuecomment-786992282 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 27 February 2021 02:59:28 UTC