Open
Description
There are a number of cases (such as for transforms) where position:fixed
elements behave like position:absolute
, rather than attaching to the viewport.
The spec for offsetParent
(and presumably offsetTop
/offsetLeft
as well) doesn't account for this, but instead returns null for position:fixed
in step 1.
According to the relevant Chromium bug Firefox does this correctly -- and it seems like it would be best if Chromium changed to match Firefox since that behavior makes the most sense.