Skip to content

Drop most CSS value spaces duplicates #556

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

Merged
merged 1 commit into from
Apr 13, 2022
Merged

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented Apr 11, 2022

This applies the same logic as for CSS properties to drop duplicates from CSS extracts. Some duplicates remain: <fit-content()>, <length>, <path()>, <percentage>, <rect()> and <url>.

No easy way to get rid of them, as functions and terms seem to be reused on purpose with similar though slightly different meaning each time. These duplicates are hardcoded into tests.

No update to guarantees in README as it's not clear what interesting guarantees we can really make for now. Value spaces remain too messy to be directly usable, e.g. see #127 (comment)

This applies the same logic as for CSS properties to drop duplicates from CSS
extracts. Some duplicates remain: `<fit-content()>`, `<length>`, `<path()>`,
`<percentage>`, `<rect()>` and `<url>`.

No easy way to get rid of them, as functions and terms seem to be reused on
purpose with similar though slightly different meaning each time. These
duplicates are hardcoded into tests.

No update to guarantees in README as it's not clear what interesting guarantees
we can really make for now. Value spaces remain too messy to be directly usable,
e.g. see #127 (comment)
@tidoust tidoust requested a review from dontcallmedom April 11, 2022 09:43
@tidoust
Copy link
Member Author

tidoust commented Apr 13, 2022

Taking the liberty to merge to release a somewhat consistent CSS package.

@tidoust tidoust merged commit 36721b0 into main Apr 13, 2022
@tidoust tidoust deleted the drop-main-duplicate-valuespaces branch April 13, 2022 12:28
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

Successfully merging this pull request may close these issues.

1 participant