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

Invalid test for list-style-type CSS property values #723

Open
foolip opened this issue Sep 26, 2023 · 1 comment
Open

Invalid test for list-style-type CSS property values #723

foolip opened this issue Sep 26, 2023 · 1 comment

Comments

@foolip
Copy link
Member

foolip commented Sep 26, 2023

Reported by @jugglinmike in foolip/mdn-bcd-collector#2347:

The "harness" test for CSS property values uses the CSS.supports function where available. This is not a reliable way to test support for list-style-type values because that CSS property accepts any arbitrary string value.

This is apparent in the data for Chrome stored in the mdn-bcd-results repository: the results for the value "afar" are true for versions 1 through 44, false for versions 45 through 90, and then true again for versions 91 through 105.

click to reveal an awful shell script which highlights the relevant results
The update-bcd script does not reflect this history in BCD due to a known deficiency.

@foolip
Copy link
Member Author

foolip commented Sep 26, 2023

Looking at https://mdn-bcd-collector.gooborg.com/tests/css/properties/list-style-type this does still seem to be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant