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

Style attribute conversion should work with attributeToAttribute() #15688

Merged
merged 5 commits into from
Jan 29, 2024

Conversation

niegowski
Copy link
Contributor

@niegowski niegowski commented Jan 12, 2024

Suggested merge commit message (convention)

Fix (engine): The style and class attributes conversion should work with attributeToAttribute(). Closes #4517.

MINOR BREAKING CHANGE (engine): In the attributeToAttribute() upcast helper we fixed how the missing value of the "class" and "style" attribute conversion is handled. Now while not providing the attribute's value to the conversion helper accepts and consumes all values. Previously those values were not consumed and left for other converters to convert. Note that you should use the classes, and the styles fields for the fine-tuned conversion of those attributes instead of a catch-all "style" and "class" specified in the key field.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

@niegowski niegowski marked this pull request as ready for review January 13, 2024 13:12
@niegowski niegowski requested review from arkflpc and scofalik January 13, 2024 13:21
@niegowski niegowski merged commit f0af6d4 into master Jan 29, 2024
7 checks passed
@niegowski niegowski deleted the ck/4517 branch January 29, 2024 12:17
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.

Style attribute conversion does not work with attributeToAttribute()
2 participants