Skip to content

fix issue #8344 include css revert property#8404

Merged
matthiasblaesing merged 1 commit intoapache:masterfrom
haidubogdan:t_css_8344_css_revert_property
Apr 15, 2025
Merged

fix issue #8344 include css revert property#8404
matthiasblaesing merged 1 commit intoapache:masterfrom
haidubogdan:t_css_8344_css_revert_property

Conversation

@haidubogdan
Copy link
Copy Markdown
Contributor

@haidubogdan haidubogdan commented Apr 7, 2025

In response of the issue #8344

Include the revert property in css property validator.
It is considered similar to "unset" so, it should be safe to add in the ValueGrammarElement[] list.

Before

image
image

After
image

This also required an update on the PropertyValueTest unit test.

@matthiasblaesing matthiasblaesing added the CSS [ci] enable web job label Apr 7, 2025
@matthiasblaesing matthiasblaesing linked an issue Apr 7, 2025 that may be closed by this pull request
@matthiasblaesing matthiasblaesing added this to the NB26 milestone Apr 7, 2025
@apache apache locked and limited conversation to collaborators Apr 7, 2025
@apache apache unlocked this conversation Apr 7, 2025
@matthiasblaesing
Copy link
Copy Markdown
Contributor

There are test failures. My hint for the future, when you touch css.editor or css.lib always run unittests for both. The two are pretty closely related.

@matthiasblaesing
Copy link
Copy Markdown
Contributor

Unittests are happy, change looks good. Please squash the changes into a single commit. When doing this, please adjust message of commit to a style similar to #8405.

@haidubogdan haidubogdan force-pushed the t_css_8344_css_revert_property branch from d133b75 to 2eb762c Compare April 15, 2025 12:20
@haidubogdan
Copy link
Copy Markdown
Contributor Author

Unittests are happy, change looks good. Please squash the changes into a single commit. When doing this, please adjust message of commit to a style similar to #8405.

Ah, sorry.
I didn't see notification for this comment.
Commit squashed and amended.

@matthiasblaesing
Copy link
Copy Markdown
Contributor

Thank you. At some point we need to improve the help display for these universal values, but at this point in time the approach is consistent and works.

@matthiasblaesing matthiasblaesing merged commit 1d747b8 into apache:master Apr 15, 2025
31 checks passed
@haidubogdan haidubogdan deleted the t_css_8344_css_revert_property branch May 25, 2025 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CSS [ci] enable web job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recognize the CSS revert value

2 participants