[Webkit-unassigned] [Bug 52535] offsetLeft is wrong for elements inside a TD whose style is set to position:relative

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 4 13:27:04 PST 2011


--- Comment #21 from Dave Hyatt <hyatt at apple.com>  2011-03-04 13:27:04 PST ---
What we might have to do for this is add a bit like we did for positioning.  If isRelPositioned() uses a RenderObject bit, then it can not be set for the table types.  Then offsetParent could go back to the original style with a comment saying why it doesn't check the bit.

I'd really like to understand more about what other browsers do here though first.  You need to write a stacking test to see if IE and FFX are supporting position:relative layer creation.  Then a secondary test would be to set left/top on the table cell and see what happens.

Certainly at the time I implemented this change (many years ago), no browsers supported position:relative on table cells.  It may be that has changed.  Let's test and see.  Be sure to try quirks modes and strict mode when testing.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list