Closed Bug 386424 Opened 17 years ago Closed 17 years ago

Left and Right Margins on images not respected within elements dir="rtl"; all margins collapse to right side of containing div.

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: spoim, Unassigned)

References

()

Details

(Keywords: css1, rtl)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

This is a reprise of a bug that has occurred before.
I have placed margins on each side of images I want to separate (sideways) within a div dir="rtl".
Works fine with ordinary direction.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Do you also see the problem on the latest trunk nightly?
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Trunk has always the latest fixes.
Nice photographs BTW. If you don't see the bug anymore in trunk you can resolve this bug as WORKSFORME.
I note that the margin problem in divs with dir="rtl" has not been resolved in the latest build.
I don't understand "worksforme".
Be nice to see my site working properly... makes people think I'm **** at web production!
To see.. go to... http://www.panavista.eu/#0%menu%0 then open a preview then click next.
John McAllister
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
INCOMPLETE is not the right resolution in this case, that's meant for cases where the reporter doesn't give enough information to reproduce the reported bug and he doesn't react anymore to requests for additional information.
This bug will be fixed in the next milestone release (3.0).
It is clear that a patch was checked in that fixed this, but I don't know exactly what patch. Until someone finds out which bug contained the patch, resolving WORKSFORME.
Resolution: INCOMPLETE → WORKSFORME
I don't believe that I quite described the RTL margin layout bug correctly.
When several images with left and/or right margins are placed within a division with direction="rtl" and an explicit width, in the expectation that they will render in a row, the margins are not properly applied to the images but are aggregated at the left and right sides of the group of images.
I have placed a demonstration of this behaviour at http://www.panavista.eu/rtl.htm 
That should be a little more precise and explicit.
Keywords: css1
Version: unspecified → 2.0 Branch
This happens to inline elements inside RTL containers.

Please fix this issue.
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
You need to log in before you can comment on or make changes to this bug.