Closed
Bug 245245
Opened 20 years ago
Closed 20 years ago
resizeTo doesn't notice statusbar at bottom of browser window
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 141217
People
(Reporter: leifbrown, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 javascript (bookmarklets, at least) commands to resize the window height ignore the height of the statusbar at te bottom of the window. Reproducible: Always Steps to Reproduce: 1. open Firefox 2. turn on statusbar and make sure it appears at bottom of window 3. create the following bookmarklet and invoke: javascript:self.moveTo(0,0);self.resizeTo(800,screen.availHeight); 3. look at actual layout relative to the bottom of the screen Actual Results: Statusbar has gone off the bottom edge of the screen. Bottommost rendered component is slidebar (if visible), or html rendering window. Expected Results: Window should resize including statusbar (and other attachments as part of height and width) I've seen this on more than one computer. NOT TESTED with Mozilla, other platforms or other builds. NOT TESTED with other bars at bottom of window, nor if statusbar is moved to top. NOT TESTED to see if there's a similar problem with width components. (I suspect there would be.) My current workaround is just to subtract the height of the statusbar, if active.
Assignee: igor → general
URL: N/A
Component: Core → DOM: Level 0
Product: Rhino → Browser
QA Contact: pschwartau → ian
Version: other → Trunk
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 141217 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•