This question has been asked before about the "height" and "width" properties but I found no working solution.
Firefox documentation says:
In Firefox, properties with the value
auto
return the used value, not the valueauto
.
However, window.getComputedStyle(element).getPropertyValue("top")
returns "auto"
instead of the pixel value. Does anybody know a workaround?
Firefox 42.0 on Ubuntu 15.04