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

Fix CSS test on base property definitions #1273

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Fix CSS test on base property definitions #1273

merged 1 commit into from
Jul 2, 2024

Conversation

tidoust
Copy link
Member

@tidoust tidoust commented Jul 2, 2024

The test did not take into account the possibility that the base definition of a CSS property could be in a delta spec. That's currently the case for the continue property: defined in css-overflow-4, extended in css-overflow-5.

Not done here but the test could also be extended to make sure that the base definition is defined in a delta spec that is logically before the spec that extends the definition. The use of a separate array is meant to ease that further update.

Closes #1272.

The test did not take into account the possibility that the base definition of
a CSS property could be in a delta spec. That's currently the case for the
`continue` property: defined in `css-overflow-4`, extended in `css-overflow-5`.

Not done here but the test could also be extended to make sure that the base
definition is defined in a delta spec that is logically *before* the spec that
extends the definition. The use of a separate array is meant to ease that
further update.

Closes #1272.
@tidoust tidoust merged commit 96bde21 into main Jul 2, 2024
1 check passed
@tidoust tidoust deleted the fix-css-test branch July 2, 2024 09:33
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.

Test misses base CSS definition if it is in a delta spec
2 participants