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 upResolved value (getComputedStyle) of "top" isn't computed correctly #8220
Labels
Comments
|
getComputedStyle is pretty complex and isn't specced in much detail =/ |
|
This is still true. |
|
Not sure what the correct answer is supposed to be, but I get -38px currently |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The obvious value for
topis0px; Servo comes up with-30pxbecause it's computing the position relative to the stacking context, not the absolute containing block.