Skip to content

Conversation

JAForbes
Copy link
Collaborator

@JAForbes JAForbes commented Nov 7, 2024

Release v2.2.10

Changelog

Patch Changes

[refactor] Performance improvement of updateStyle() (@kfule)

This is a refactoring to improve the performance of updateStyle().

This will improve the performance of “mutate styles/properties” and reduce the amount of code a little.

Also, it turns out that the CSSStyleDeclaration interface also supports stuff like elem.style["font-size"] as well as the equivalent elem.style.fontSize.
https://drafts.csswg.org/cssom/#dom-cssstyleproperties-dashed-attribute
@JAForbes JAForbes requested a review from a team as a code owner November 7, 2024 05:47
@dead-claudia dead-claudia merged commit 290f460 into release Nov 7, 2024
7 of 8 checks passed
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.

3 participants