Summary: | A position fixed node's offsetParent should return null | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gérard Talbot <browserbugs2> | ||||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | hyatt, pennig, rik | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 525.x (Safari 3.1) | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
URL: | http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/CSSOM-offsetParent-prop.html#ThirdTest | ||||||||
Attachments: |
|
Description
Gérard Talbot
2008-05-20 12:11:22 PDT
I'm seeing this too. WebKit nightly from 13 Jan 2009, OS X 10.5.6. Created attachment 26829 [details]
Fix for offsetParent, offsetTop, and offsetLeft
Created attachment 26834 [details]
Fix for offsetParent, offsetTop, and offsetLeft
The testcase is working on my nightly (r41121). I've bisected it between r40738 and r40771. http://trac.webkit.org/changeset/40769 may be the revision responsible (I don't understand the patch but it has offsetParent in the summary). Bug 24097 was fixed as a regression because of this change. One of them is therefore invalid. This bug was fixed in changeset http://trac.webkit.org/changeset/40769 but there were no tests to make sure that offsetParent of a fixed element was null. Bug 24107 fixes a related issue caused by the above changeset. In the included patch, there are a number of tests which have coverage on this bug. When I try the provided testcase with latest stable release Safari 4.0 build 530.17, I get expected results. Resolving as FIXED Thank you Matt! regards, Gérard |