Closed Bug 299250 Opened 19 years ago Closed 18 years ago

Margin-left not correctly set on xul:hbox within rtl div

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: mkaply)

References

Details

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

Attachments

(1 file)

914 bytes, application/xhtml+xml
Details
See upcoming testcase.

With the testcase I get a scrollbar for the regular div (the top one).
But I don't get a scrollbar for the rtl div (the bottom one).
I think I should be getting one, there also.
It seems like margin-left is completely ignored in the testcase.
Attached file testcase
Confirmed on OS X => All/All
OS: Windows 2000 → All
Hardware: PC → All
Sounds like a xul box model issue, actually...
Whiteboard: [reflow-refactor]
Starting from the 2005-12-16-05 trunk nightly, I'm not seeing an (active) scrollbar on either of the divs (and therefore I can't see the text in either of them). I don't know XUL, so I can't say if this is a regression or a fix.

Regarding "It seems like margin-left is completely ignored in the testcase." - isn't that a duplicate of bug 121633?
Depends on: 121633
Maybe the behavior changed because of the fix for bug 307992?
I guess the original issue is indeed related to/a duplicate of bug 121633.
I don't really know how the XUL stuff's supposed to work either.  In fact, I doubt anyone does.  ;)

For this bug, I think we should just revisit it once bug 121633 is fixed.
Well, the testcase won't work again with this changed behavior, so if this behavior would stay, I would need to make an updated testcase.
But I think what current trunk builds are doing is wrong. I filed bug 328240 for it. (and even if xul layout is undefined, I still would prefer the old behavior)
Depends on: 328240
Depends on: 331594
I can see another regression now with the testcase for this bug, see bug 331594.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20061208 Minefield/3.0a1 ID:2006120812 [cairo]

Seems fixed by reflow branch landing

both scrollbars visable
Yeah, fixed by the reflow branch landing.
It was a problem in the 2006-12-06 build, but not anymore in the 2006-12-08 build.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Please add bugs fixed by reflow branch to the dep list...
Depends on: reflow-refactor
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: zach → 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: