Closed Bug 123355 Opened 23 years ago Closed 21 years ago

{ib} XML block-in-inline does not wrap

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: brentmh, Unassigned)

References

()

Details

(Keywords: css1)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 BuildID: 2002020403 In one of the XML+CSS examples from O'Reilly's "XML in a nutshell" (the above URL), the text does not wrap but continues off the edge of the browser, requiring the user to scroll right to see the rest of the text. I've created a simpler page at http://bunker.ece.rice.edu/users/brentmh/mozilla/wrap/test.xml that exhibits the same behavior. The problem seems to occur whenever you couple the "display:block" style with the "margin-left" style. Removing either of these causes the bug to disappear. Reproducible: Always Steps to Reproduce: 1. Go to the listed URL in mozilla Actual Results: The text displays off the screen Expected Results: The text should wrap to the browser window size
Build ID: 2002 01 30 03. Windows 2000. I also see the text overflowing to the right.
Duplicate of the bug on text not wrapping in a block that's inside an inline (which is the situation you have here, since <doc> defaults to inline and <text> is block). Can't seem to find the original bug, though....
Whiteboard: DUPEME
Boris, do you mean bug 86276? This was opened because that bug was fixed but there is still a problem in this test case.
yes, I meant that one. Would have been nice if the opening comment mentioned it. :) Confirming problem on current linux.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: DUPEME
Target Milestone: --- → Future
Keywords: css1
Priority: -- → P3
Adding dbaron, who originally asked for this bug to be filed. Incidentally, does CSS1 specify how to do block-in-inline, or was the work on bug 86276 just damage-control/CSS3-type stuff?
Summary: text not wrapping inside an XML block → XML block-in-inline does not wrap
CSS2 certainly does. I'm not sure offhand whether CSS1 does.
.
Assignee: attinasi → block-and-inline
Component: Layout → Layout: Block & Inline
Priority: P3 → --
QA Contact: cpetersen0953 → ian
Summary: XML block-in-inline does not wrap → {ib} XML block-in-inline does not wrap
Target Milestone: Future → ---
Depends on: 111397
This worksforme in a current build, even without the patch to bug 233480.
Using Mozilla 1.6/Linux it wraps, but not quite enough: the horizontal scrollbar still appears. dbaron: did you have a horiz scroll bar when you viewed the test page?
Hmm.. The hostname in the URL field doesn't resolve. Reporter, could you test with a current nightly (one with the fix for bug 111397 in it)?
Seems to work on latest nightly for mozilla and firefox. I think this one can be closed.
Fixed by bug 233480
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.