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)
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
| Reporter | ||
Comment 1•20 years ago
|
||
Whiteboard: [reflow-refactor]
Comment 2•20 years ago
|
||
Isn't this the right behavior for horizontally-oriented boxes?
Comment 3•20 years ago
|
||
Correct, horizontal boxes don't constrain the width of their children.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 4•20 years ago
|
||
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?
Comment 5•20 years ago
|
||
Changing the width of the window does not change the width of the html:p
| Reporter | ||
Comment 6•20 years ago
|
||
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.
Comment 7•20 years ago
|
||
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.
Description
•