Closed Bug 430140 Opened 16 years ago Closed 16 years ago

dir=RTL causes inconsistent mutual order of images and text

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 229367

People

(Reporter: ikn, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

HTML source as simple as that:
<html>
<body style="direction: rtl;">
<img src="http://www.freeiconsweb.com/Icons/16x16_File_icons/Computer_File_001.gif">&nbsp;First<br>
<img src="http://www.freeiconsweb.com/Icons/16x16_File_icons/Computer_File_001.gif">&nbsp;Second<br>
</body>
</html>
(use any image you want) causes two lines to be inconsistent: in the 1-st line image is on the right side of text (correct RTL behavior), but on the 2-nd line it is on the left size (seems to be inconsistent with RTL requested) while line itself is right-aligned.

Attempt to separate lines with techniques other than "<BR>" solves the problem and restores consistent RTL behavior.

Even if I am wrong about correct behavior, there is no reason these two lines should display inconsistently.

Note: while MSIE and Safari display this correctly, Opera mysteriously (mis-)behaves consistently with Firefox.



Reproducible: Always

Steps to Reproduce:
1.Just create 6-lines HTML file as described above and load it into Firefox
2.
3.
Actual Results:  
Inconsistent display of two lines, like that:
First [Image]
[Image] Second

Expected Results:  
Like in MSIE and Safari, this should be:
First [Image]
Second [Image]
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: