Closed
Bug 265820
Opened 20 years ago
Closed 20 years ago
DOM object placement error
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: kahlesskahn, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1 The objects on the screen do not display to their correct positions. The page is using DOM for to place objects at specific coordinates. The objects are overlapping badly in Firefox, but appear normal with IE. The game also fails to work under firefox, but this is probably a JS code page error related to bad screen co-ordinates as a result of this error. Reproducible: Always Steps to Reproduce: 1. Visit Site 2. Use up, down, left or right arrow keys Actual Results: Bad object position. The red 'O' did not move. Expected Results: Objects should have been placed at appropriate object co-ordinates. The Red 'O' should have moved with the keys.
Comment 1•20 years ago
|
||
This is due to the invalid css code:
position:absolute; left='100'; top='100';
should be
position:absolute; left:100px; top:100px;
The page also has if document.layers { // ... }, else use window.event.keyCode
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•