W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Tue, 15 Sep 2020 16:08:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-692817261-1600186101-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:16 UTC