Closed Bug 303434 Opened 19 years ago Closed 19 years ago

XUL overlay (statusbar panel with a long label) breaks HTML page layout

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: julien.lecomte, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Attached are a simple XUL overlay and a test HTML page containing a table 
occupying 100% of the width of the page. Install the overlay, open the web 
page and slowly decrease the width of your browser window. The table will 
resize itself to occupy 100% of the width of the page, up to a point, when 
there is not enough room to display the label added by the overlay.

Also, window.innerWidth does not report the actual width of the window, which 
is really bad.

Note that this kind of overlay is used by A LOT OF extensions (ex: 
StockTicker) and this breaks the layout of small dialog boxes in DHTML 
applications, which is why I am setting the severity to major.

Reproducible: Always



Expected Results:  
The label should have an ellipsis (...), the layout should be correct, and 
window.innerWidth should always report the actual width of the window.
Attached file Simple XUL overlay
Attached file Test page
Keywords: testcase
Interestingly, if you hide the status bar (from the View menu for example), 
the layout will appear correct, and if you show the status bar, the layout 
will appear bad again.
*** Bug 290882 has been marked as a duplicate of this bug. ***
This is a bug in the overlay....  The web page rendering area can't become narrower than that status bar.  Note that this is why Mozilla and Firefox do NOT have such status bars.

Please file the bug on whatever extension authors are doing this inanity.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: