Closed Bug 332975 Opened 18 years ago Closed 17 years ago

Left margin on RTL list item pushes the list marker (bullet) to the right

Categories

(Core :: Layout: Text and Fonts, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: uriber, Unassigned)

References

Details

(Keywords: rtl, testcase)

Attachments

(2 files)

This was originally reported in comments on bug 262195.

If an RTL list item has a left margin (specified e.g. using margin-left or -moz-margin-end), the list marker (bullet) on the right side of the item is pushed to the right by an amount equal to the width of the left margin.

attachment 169516 [details] and attachment 191005 [details] (from bug 262195) show this problem. I'll attach a smaller testcase soon.
Attached file testcase
This is a small testcase (using -moz-margin-end), demonstrating the difference between RTL (top, buggy), and LTR (bottom, OK).
Blocks: 332360
No longer blocks: 332360
Depends on: 332360
The patch on bug 332360 indeed would fix this as well.
Fixed by the fix for bug 332360. Verified with:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a3pre) Gecko/20070308 Minefield/3.0a3pre
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Attached patch reftestSplinter Review
Not sure what the review procedure is for reftests - but since this is my first one, it's probably a good idea for someone to have a look at it anyway.
Attachment #258125 - Flags: review?(dbaron)
Comment on attachment 258125 [details] [diff] [review]
reftest

This one looks fine, except for the "No newline at end of file" (Unix convention uses newline as a line terminator, not a line separator).  But you could also throw in some padding to test that too.  And perhaps even add the LTR equivalent?

(Either way, feel free to check in.)
Attachment #258125 - Flags: review?(dbaron) → review+
Reftest checked in, with extra newline and an item with padding.
Flags: in-testsuite? → in-testsuite+
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: layout.bidi → layout.fonts-and-text
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: