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)
Core
Layout: Block and Inline
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
Comment 1•23 years ago
|
||
Build ID: 2002 01 30 03. Windows 2000.
I also see the text overflowing to the right.
Comment 2•23 years ago
|
||
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.
Comment 4•23 years ago
|
||
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
Updated•23 years ago
|
Target Milestone: --- → Future
Updated•23 years ago
|
Priority: -- → P3
Comment 5•22 years ago
|
||
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
Comment 6•22 years ago
|
||
CSS2 certainly does. I'm not sure offhand whether CSS1 does.
Comment 7•22 years ago
|
||
.
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 → ---
Comment 8•21 years ago
|
||
This worksforme in a current build, even without the patch to bug 233480.
Comment 9•21 years ago
|
||
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?
Comment 10•21 years ago
|
||
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)?
Comment 11•21 years ago
|
||
Seems to work on latest nightly for mozilla and firefox. I think this one can
be closed.
Comment 12•21 years ago
|
||
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.
Description
•