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

Use CSS Houdini (CSS Typed OM Level 1) to get the computed style #43

Open
ausi opened this issue Jun 8, 2017 · 1 comment
Open

Use CSS Houdini (CSS Typed OM Level 1) to get the computed style #43

ausi opened this issue Jun 8, 2017 · 1 comment
Assignees

Comments

@ausi
Copy link
Owner

ausi commented Jun 8, 2017

Use getComputedStyleMap(element).get(prop) in getOriginalStyle() if available and skip buildStyleCache(). This will be a big performance improvement for browsers with Houdini support.

@ausi ausi self-assigned this Jun 8, 2017
@ausi ausi added this to Maybe in Version 0.4.0 Jun 10, 2017
@ausi
Copy link
Owner Author

ausi commented Feb 17, 2018

window.getComputedStyleMap(element) was changed to element.computedStyleMap()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant