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)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
FIXED
People
(Reporter: uriber, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: rtl, testcase, Whiteboard: [reflow-refactor])
Attachments
(1 file)
(deleted),
application/xhtml+xml
|
Details |
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.
Reporter | ||
Comment 1•19 years ago
|
||
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.
Reporter | ||
Comment 2•18 years ago
|
||
This appears to be fixed on the reflow branch.
Whiteboard: [reflow-refactor]
Reporter | ||
Comment 3•18 years ago
|
||
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
Comment 4•18 years ago
|
||
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: in-testsuite?
Comment 5•17 years ago
|
||
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
Updated•12 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•