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

Add Window.getComputedStyle support #80

Closed
andycall opened this issue Oct 21, 2022 · 0 comments · Fixed by #183
Closed

Add Window.getComputedStyle support #80

andycall opened this issue Oct 21, 2022 · 0 comments · Fixed by #183
Assignees
Labels
enhancement New feature or request

Comments

@andycall
Copy link
Member

Feature type

DOM API

The spec link.

https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle

How much important for you

Many front-end component libraries are dependents on this API to gather computed styles.

https://github.com/youzan/vant/blob/e250dd31b8ad3dd0b6bc199033b43c7682a5674f/packages/vant/src/utils/dom.ts

@andycall andycall added the enhancement New feature or request label Oct 21, 2022
@andycall andycall changed the title Window.getComputedStyle Add Window.getComputedStyle support Oct 21, 2022
@devjiangzhou devjiangzhou linked a pull request Jan 13, 2023 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants