Closed Bug 276307 Opened 20 years ago Closed 20 years ago

wrong behaviour of html:p contained in xul:hbox

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: surkov, Unassigned)

Details

(Whiteboard: [reflow-refactor])

Attachments

(1 file)

838 bytes, application/vnd.mozilla.xul+xml
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122

Element html:p is placed inside of xul:hbox. When window is resized then
elements of html:p don't slide to next line.

Reproducible: Always
Attached file test case
Whiteboard: [reflow-refactor]
Isn't this the right behavior for horizontally-oriented boxes?
Correct, horizontal boxes don't constrain the width of their children.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Maybe it is correct behaviour for horizonal boxes but I don't think it's correct
behaviour for parahraph element. If html:p cannot display content horizontally
then it should get additional height. Is it right?
Changing the width of the window does not change the width of the html:p
To comment #5. Sorry, what do you mean? Changing the width of the window does
change the width of the hbox what contains html:p. If parent node width of
html:p is changing then i think html:p should change width and height so that
content of html:p would not be croped.
When you make the window smaller the box simply overflows. We don't support the
overflow property on the root but if we did then scrollbars would appear.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: