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

[csswg-drafts] [css-lists] UA styles for ::marker are duplicated and out of sync (#5346)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Tue, 21 Jul 2020 13:54:00 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-663033694-1595339639-sysbot+gh@w3.org>
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-lists] UA styles for ::marker are duplicated and out of sync ==
From https://drafts.csswg.org/css-lists/#marker-properties

> UAs must add the following rule to their default style sheet:
> ```css
> ::marker, ::before::marker, ::after::marker {
>   unicode-bidi: isolate;
>   font-variant-numeric: tabular-nums;
>   white-space: pre;
> }
> ```

From https://drafts.csswg.org/css-lists/#ua-stylesheet

> ```css
> li::marker {
>   unicode-bidi: isolate;
>   font-variant-numeric: tabular-nums;
> }
> ```

They got out of sync. It would probably be better to avoid the duplicity and define the UA styles for markers in a single place.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5346 using your GitHub account
Received on Tuesday, 21 July 2020 13:54:03 UTC

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