Open
Bug 822150
Opened 12 years ago
Updated 2 years ago
Panels get 'width' and 'height' attributes when they shouldn't, making the panel size static
Categories
(Core :: XUL, defect)
Tracking
()
NEW
People
(Reporter: philspam, Unassigned)
Details
Attachments
(1 file)
1.62 KB,
application/vnd.mozilla.xul+xml
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121128204232
Steps to reproduce:
Added content to a panel element until it no longer fit completely on the screen.
Actual results:
The panel resized dynamically as expected until it was rendered partially off screen, then height and width attributes were added and the panel stopped resizing.
Expected results:
Height and width attributes should not be added, and the element should resize to fit it's content.
Testcase to demonstrate the issue.
Load the xul file in Firefox 17+ (I've only tested on Windows).
Click the Add button multiple times until the panel content goes below the bottom of the screen.
Click the Remove button until the content is gone.
Compare to FF16.
Attachment #692792 -
Attachment mime type: application/octet-stream → application/vnd.mozilla.xul+xml
Comment 2•12 years ago
|
||
FTR, see bug 852775 comment 4 which implies the underlying bug is that the 'width' and 'height' attributes are being added unconditionally, when they should only be added when the resize is as a result of the user explicitly resizing.
Confirming, updating the title and adding the panel-guru to CC.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: Panel element's size becomes static. → Panels get 'width' and 'height' attributes when they shouldn't, making the panel size static
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•