Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd a fast path to get computed styles from the script thread #16255
Labels
Comments
|
I think this would also allow us to share more code between layout_2013 and layout_2020. This query is necessary for testing animations in layout_2020. |
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
May 9, 2020
In some cases we can just computed the resolved values for getComputedStyle in script. This means we can answer the query without having to wait for layout. Fixes servo#16255.
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
May 9, 2020
In some cases we can just computed the resolved values for getComputedStyle in script. This means we can answer the query without having to wait for layout. Fixes servo#16255.
mrobinson
added a commit
to mrobinson/servo
that referenced
this issue
May 9, 2020
In some cases we can just computed the resolved values for getComputedStyle in script. This means we can answer the query without having to wait for layout. Fixes servo#16255.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CC @emilio
We have
window.GetComputedStyle, but it would be great to have a faster path.