Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list-style-item incorrectly reports support for many keys #24545

Open
jamesnw opened this issue Sep 26, 2024 · 0 comments
Open

list-style-item incorrectly reports support for many keys #24545

jamesnw opened this issue Sep 26, 2024 · 0 comments
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS

Comments

@jamesnw
Copy link
Contributor

jamesnw commented Sep 26, 2024

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

The list-style-item supports predefined list style types, custom strings, and identifiers for custom counters. The collector is checking for support using CSS.supports('list-style-item', 'value'), and because of the breadth of values, this will return true for anything passed as the value. This means that the some of the changes introduced by #4148 are not accurate.

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

The following are NOT in the spec as predefined list style types. These should not be marked as standard-track, likely should be marked as deprecated, and the support should be reevaluated.

  • afar
  • amharic
  • amharic-abegede
  • asterisks
  • binary
  • ethiopic
  • ethiopic-abegede
  • ethiopic-abegede-am-et
  • ethiopic-abegede-gez
  • ethiopic-abegede-ti-er
  • ethiopic-abegede-ti-et
  • ethiopic-halehame
  • ethiopic-halehame-aa-er
  • ethiopic-halehame-aa-et
  • ethiopic-halehame-am
  • ethiopic-halehame-am-et
  • ethiopic-halehame-gez
  • ethiopic-halehame-om-et
  • ethiopic-halehame-sid-et
  • ethiopic-halehame-so-et
  • ethiopic-halehame-ti-er
  • ethiopic-halehame-ti-et
  • ethiopic-halehame-tig
  • footnotes
  • hangul
  • hangul-consonant
  • lower-hexadecimal
  • lower-norwegian
  • octal
  • oromo
  • sidama
  • somali
  • tigre
  • tigrinya-er
  • tigrinya-er-abegede
  • tigrinya-et
  • tigrinya-et-abegede
  • upper-greek
  • upper-hexadecimal
  • upper-norwegian
  • urdu

Did you test this? If so, how?

Tested CSS.supports in Safari, Chrome, Firefox.

Also tested individual values, and some are actually supported, despite not being in the spec.
https://codepen.io/jamessw/pen/mdNJVVN

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

https://drafts.csswg.org/css-lists-3/#text-markers
https://drafts.csswg.org/css-counter-styles-3/#predefined-counters

Do you have anything more you want to share?

Surfaced in web-platform-dx/web-features#1764

MDN URL

No response

MDN metadata

No response

@queengooborg queengooborg added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

No branches or pull requests

2 participants