Closed Bug 266194 Opened 20 years ago Closed 20 years ago

Left and right margins of inline frames in right to left direction don't work

Categories

(Core :: Layout: Block and Inline, defect)

1.7 Branch
x86
All
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 121633

People

(Reporter: kesor, Unassigned)

References

()

Details

(Keywords: rtl, testcase)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

In the example at http://kesor.net/firefox-bug01.html
Two ordered lists with inline list items are set to have the same margins
between the list items,
First list has direction right-to-left and the marings dont work at all.
Second list has direction left-to-right and works correctly.



Reproducible: Always
Steps to Reproduce:
<html>
<head>
<style>
	OL.i_am_right_to_left {
		direction: rtl;
	}
	OL.i_am_right_to_left LI {
		display: inline;
		margin: 0px 36px;
	}
	OL.i_am_left_to_right {
		direction: ltr;
	}
	OL.i_am_left_to_right LI {
		display: inline;
		margin: 0px 36px;
	}
</style>
</head>
<body>

<ol class="i_am_right_to_left">
<li>1. <input type="radio" name="right_to_left" /></li>
<li>2. <input type="radio" name="right_to_left" /></li>
<li>3. <input type="radio" name="right_to_left" /></li>
<li>4. <input type="radio" name="right_to_left" /></li>
</ol>

<br /><br />

<ol class="i_am_left_to_right">
<li>1. <input type="radio" name="left_to_right" /></li>
<li>2. <input type="radio" name="left_to_right" /></li>
<li>3. <input type="radio" name="left_to_right" /></li>
<li>4. <input type="radio" name="left_to_right" /></li>
</ol>

</body>
</html>
Actual Results:  
List items set as direction:rtl didnt have any margins.

Expected Results:  
List items set as direction:rtl should have the same margin behavior as those
set to direction:ltr
Attached file Testcase (obsolete) —
Attached file Testcase
Happens with any inline frame, not just List Items
Attachment #163527 - Attachment is obsolete: true
Keywords: testcase
Summary: broken margins of list items in right to left direction with inline display mode → Left and right margins of inline frames in right to left direction don't work
Dup of Bug 121633?
OS: Linux → All
Version: Trunk → 1.7 Branch

*** This bug has been marked as a duplicate of 121633 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
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.

Attachment

General

Created:
Updated:
Size: