VERIFIED FIXED 5800
Absolutely-positioned element in RTL parent is positioned incorrectly if its left and right are auto
https://bugs.webkit.org/show_bug.cgi?id=5800
Summary Absolutely-positioned element in RTL parent is positioned incorrectly if its ...
mitz
Reported 2005-11-22 07:01:54 PST
An element with position:absoulte; right:auto; left:auto; whose parent has direction:rtl ends up having incorrect horizontal position. See the URL (where the ticker text is on the wrong side of the page) or the attached testcase. (Firefox does not render the 2-box test case as expected due to what I think is a bug in Firefox; WinIE does not have that bug but renders it incorrectly because of borders).
Attachments
testcase (1.35 KB, text/html)
2005-11-22 07:03 PST, mitz
no flags
Calculate the distance from the right correctly in this case (1.51 KB, patch)
2005-11-22 07:08 PST, mitz
darin: review+
mitz
Comment 1 2005-11-22 07:03:24 PST
Created attachment 4764 [details] testcase This can go into fast/block/positioning/auto
mitz
Comment 2 2005-11-22 07:08:12 PST
Created attachment 4765 [details] Calculate the distance from the right correctly in this case Also removed a couple of redundant checks.
Darin Adler
Comment 3 2005-11-22 19:41:39 PST
Comment on attachment 4765 [details] Calculate the distance from the right correctly in this case r=me
Note You need to log in before you can comment on or make changes to this bug.