I'm calling getComputedStyle on an element that defines left
, right
and bottom
.
In Chrome this returns 'auto'
as the value for top
but in Firefox this returns the pixel value, however if you look at the inspector in Firefox the top
value doesn't show up in the computed pane.
Is there any way to workaround this? Here is a fiddle showing the issue http://jsfiddle.net/DEfusion/9NaGD/