Closed Bug 332978 Opened 19 years ago Closed 18 years ago

RTL list item content shifted to the left when right floating object exists

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: uriber, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: rtl, testcase, Whiteboard: [reflow-refactor])

Attachments

(1 file)

Originally reported in comments on bug 262195. When an RTL list item is affected by a right-floated object, the content of the item (but not the list marker) is indented (shifted to the left) by an amount equal to the width of the float (in addition to the indentation necessary not to overlap the float). attachment 206199 [details] (bug 262195 comment #44) is a testcase for this. I'll attach a smaller testcase soon.
Attached file minimal testcase (deleted) —
This testcase doesn't actually use list items, but instead uses divs with "-moz-float-edge: margin-box", which turns out to be what triggers the bug. Notice that the div itself (marked by the red border) is positioned correctly, but the text inside it (in the RTL case) is shifted to the left.
Blocks: 137995
This appears to be fixed on the reflow branch.
Whiteboard: [reflow-refactor]
Fixed on trunk by the reflow-refactor landing. Verified with: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20061208 Minefield/3.0a1 ID:2006120806
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: reflow-refactor
Resolution: --- → FIXED
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: 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
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: