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

Make css-borders-4 supersede css-backgrounds-3 #1032

Merged
merged 1 commit into from
Aug 28, 2023
Merged

Make css-borders-4 supersede css-backgrounds-3 #1032

merged 1 commit into from
Aug 28, 2023

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented Aug 28, 2023

For the context, see w3c/browser-specs#1025

css-borders-4 extends some of the property declarations of css-backgrounds-3 (border-xxx-radius, border-xxx-color). This creates duplicate CSS property definitions in Webref.

If we were to consider css-borders-4 as a delta spec, we would just do nothing and leave de-duplication up to consumers. Here, we need to select one. If we favor css-backgrounds-3 definitions, e.g., on the ground that they are more stable, we would have to reverse that choice later on when that stops being the case. Favoring css-borders-4 definitions seems more future-proof. Plus the new definitions are backward-compatible with former ones.

For the context, see w3c/browser-specs#1025

css-borders-4 extends some of the property declarations of css-backgrounds-3
(`border-xxx-radius`, `border-xxx-color`). This creates duplicate CSS property
definitions in Webref.

If we were to consider css-borders-4 as a delta spec, we would just do nothing
and leave de-duplication up to consumers. Here, we need to select one. If we
favor css-backgrounds-3 definitions, e.g., on the ground that they are more
stable, we would have to reverse that choice later on when that stops being the
case. Favoring css-borders-4 definitions seems more future-proof. Plus the
new definitions are backward-compatible with former ones.
@tidoust tidoust merged commit 9008e04 into main Aug 28, 2023
1 check passed
@tidoust tidoust deleted the css-borders branch August 28, 2023 08:48
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.

2 participants