Skip to content

Release - v2.2.10#2986

Merged
dead-claudia merged 1 commit intoreleasefrom
main
Nov 7, 2024
Merged

Release - v2.2.10#2986
dead-claudia merged 1 commit intoreleasefrom
main

Conversation

@JAForbes
Copy link
Copy Markdown
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
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