Re: [csswg-drafts] [css-pseudo] Which properties to reset in ::marker (#4568)

About this resolution:

> Other properties which are not explicitly listed as apply to ::marker must not have an effect when set by author.

I'm thinking about the `visibility` property. It doesn't only apply to text, since it's able to hide box borders and things like that. But forcing `visibility: visible !important` to prevent inheritance seems like an undesirable breaking change.

Or the `cursor` property. It depends on the box geometry (basically it can expose the sizes of the marker). But resetting it also seems undesirable, since it has always been inherited. And the marker sizes are also exposed in getComputedStyle anyways.

So I wouldn't prevent their inheritance and it could also make sense to accept them to be set directly on ::marker.

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


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

Received on Tuesday, 15 September 2020 16:08:24 UTC