[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 10:35:13 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52535





--- Comment #20 from Dave Hyatt <hyatt at apple.com>  2011-03-04 10:35:13 PST ---
See

http://www.w3.org/TR/CSS2/visuren.html#choose-position

"The effect of 'position:relative' on table-row-group, table-header-group, table-footer-group, table-row, table-column-group, table-column, table-cell, and table-caption elements is undefined."

... which basically means "don't do it because browsers don't support it."

There is no technical limitation to supporting relative positioning on these objects, but historically browsers have not, since it would create bugs and compatibility issues to support it (since relative positioning changes both stacking and if used with left/top the actual placement).

-- 
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