Re: [csswg-drafts] [css-lists] The `cursor` property should apply to `::marker`s (#6203)

Thinking about this again:
 - `cursor` is defined to apply to all elements
 - So in particular, it applies to inline elements. And it's an inherited property.
 - Therefore, as per https://github.com/w3c/csswg-drafts/issues/5303#issuecomment-714593347, `cursor` applies to text.
 - So as per https://drafts.csswg.org/css-lists-3/#marker-properties
    > Inheritable properties that apply to text can be set on the [::marker](https://drafts.csswg.org/css-pseudo-4/#selectordef-marker) pseudo-element: these will inherit to and take effect on its text contents.

I still think `cursor` should apply to the ::marker box itself and not just to the text inside, but I guess that in most cases the difference would be hard to tell. So just following the existing resolutions would already be an improvement.

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


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

Received on Thursday, 23 May 2024 04:42:28 UTC