Closed
Bug 181687
Opened 22 years ago
Closed 19 years ago
JavaScript moveTo() method on Mac OS X errs by +6 pixels horizontally
Categories
(Core Graveyard :: Widget: Mac, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: registrant, Assigned: jaas)
References
()
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1) Gecko/20020826 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1) Gecko/20020826 Executing a simple JavaScript moveTo(x,y) does not move the window to the correct point in the Mac OS X environment. This problem actually has existed for sometime across Mac OS X updates and Mozilla revisions (pre 1.x). A simple example can be seen at the following page with screen clips: http://www.petmystone.com/moveTo.html Reproducible: Always Steps to Reproduce: 1.Using the psuedo protocol javascript: enter in the location bar "javascript:window.moveTo(0,0)" 2.Click/Press Return/enter (This can be reproduced in code on a page or link as well.) Actual Results: The window is moved to a position slightly to the right of the desired position. For example: window.moveTo(0,0) places the window closer to (6,0) Expected Results: Moved the window to the specified point. For example window.moveTo(0,0) should place the window at (0,0) not (6,0) This is duplicated on Mac OS X. Mac OS X.
Comment 1•22 years ago
|
||
Dan, you have a mac, right? Care to have a look? If not, please pass on to one of the Mac developers...
Assignee: jst → danm
Removed images and page from my server... attaching for future bug reference. Additional attachments follow 1 of 3
Removing sample page from server. Attaching snapshots for posterity. 2 of 3.
Removing sample page from server. Attaching snapshots for posterity. 3 of 3.
Confirmed using FizzillaMach/2003021203. Is this because Mozilla is including the drop shadow?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: JavaScript moveTo() method on Mac OS X not accurate. → JavaScript moveTo() method on Mac OS X errs by +6 pixels horizontally
Firefox only, it WFM using Camino 2005032208 (0.8+). Would this be better on Widget: Mac? Let's try.
Assignee: nobody → joshmoz
Component: DOM: Level 0 → Widget: Mac
QA Contact: desale → mac
The problem seems to be correcting itself in Firefox 1.0.1 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1). Specifically, the window seems to move not first to (0,0), but (6,0) then "jumps" to (0,0). However, in Mozilla 1.7.6 (Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/ 20050319) it is fully corrected...interesting. Close?
This does not appear to be a problem in the latest trunk builds of FF, Seamonkey, or Camino. Closing, please reopen if you can repro with the latest code.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•