[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
Sat Mar 12 01:08:25 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=52535
--- Comment #32 from Dave Hyatt <hyatt at apple.com> 2011-03-12 01:08:24 PST ---
(In reply to comment #21)
>
> 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.
I'm disappointed that my comments here were ignored by both the patch author and the patch reviewer. It's possible we could have enabled relative positioning, but nobody even bothered to write tests to see what happens in IE9 or FFX4.
Also, a bit in the style isn't how I would have implemented this. We already have RenderObject bits for this kind of separation for replaced, overflow, absolute/fixed positioning, etc. If we're going to selectively ignore relative positioning, it would have been better to use the same approach as for other properties.
However, we still needed to do basic testing just to determine whether or not relative positioning really needed to remain off.
--
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