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

RESOLVED WORKSFORME

Status

()

Firefox
General
RESOLVED WORKSFORME
11 years ago
10 years ago

People

(Reporter: John McAllister, Unassigned)

Tracking

({css1, rtl})

2.0 Branch
x86
Windows Vista
css1, rtl
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

11 years ago
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.
(Reporter)

Comment 3

11 years ago
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
Last Resolved: 11 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
(Reporter)

Comment 5

11 years ago
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

Comment 6

10 years ago
This happens to inline elements inside RTL containers.

Please fix this issue.

Comment 7

10 years ago
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.