offsetParent of nodeA when nodeA is a position: fixed element should be null.
If the computed value of the position property for nodeA is fixed, then nodeA.offsetParent returns null.
Actual result in Konqueror 4.1 Windows:
document.getElementById("PositionFixedElem").offsetParent = [object HTMLHtmlElement]
wow. I had no idea there was a draft spec for those. Good news.
Germain: if you're looking at this, could you please look at bug #170055 as well?
yes I was precisely investigating your logging testcase when I saw this reference to a specification. Should make things much easier, assuming this draft is accurate.
SVN commit 864534 by ggarand:
fix offsetTop/Left/Parent properties to be more in conformance with draft
CSSOM View module specification.
brings better compatibility as a bonus.
BUG: 170091, 170055
Konqueror 4.1.2 passes this test.
Marking as VERIFIED