According to <http://www.w3.org/TR/CSS21/visuren.html#relative-positioning>, "If neither 'left' nor 'right' is 'auto', the position is over-constrained, and one of them has to be ignored. If the 'direction' property of the containing block is 'ltr, the value of 'left' wins and 'right' becomes -'left'. If 'direction' of the containing block is 'rtl', 'right' wins and 'left' is ignored". Currently in WebKit, 'left' always wins.
Created attachment 12124 [details] Implement the spec No layout test regressions. Implemented this way to avoid checking the containing block's direction unless necessary (it's cheaper to check both offsets than to check the direction and an offset).
Comment on attachment 12124 [details] Implement the spec r=me!
Committed revision 18490.