Closed Bug 383898 Opened 18 years ago Closed 18 years ago

Swapped image from onmouseover is offset/positioned incorrectly

Categories

(Core :: Layout, defect)

x86
Windows Vista
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: stephend, Unassigned)

References

()

Details

Attachments

(2 files)

Build ID: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a6pre) Gecko/20070609 Minefield/3.0a6pre Summary: Swapped image from onmouseover is offset/positioned incorrectly Steps to Reproduce: 1. Load the URL and mouse over the "Search" image next to the textfield. 2. Look at its swapped image. Expected Results: The red "Search" image should replace the black one. Actual Results: The red "Search" image is offset quite a bit; in a 1024x768 window it loads halfway offscreen to the right.
Attachment #267839 - Attachment description: Testcase → Files needed to run the testcase in the URL.
Attachment #267839 - Attachment mime type: application/octet-stream → application/zip
What site does this come from? In any case, this regressed between 2007-03-15-01 and 2007-03-16-01, almost certainly as a result of bug 111207. Hard to tell with the huge gobs of JS involved: I can't even find the showMenu function in question in that mess. Whatever we're doing here is not very compatible with IE; we probably need to fix that for 1.9 if it's going to break sites like this.
Blocks: 111207
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.9?
(In reply to comment #2) > What site does this come from? http://www.pozen.com (you should see the _inline_ code, if you think the JS is a mess :-( ) <snip>
More likely a regression from bug 372365, it's also in that regression range.
Blocks: 372365
No longer blocks: 111207
Attached file testcase
I didn't get this test completely by minimizing the original one, but I'm pretty sure it's the same issue (it has the same regression range). You should see no red on the page.
This might get fixed by the patch for bug 375003, then.
Depends on: 375003
Flags: in-testsuite?
Should be working now in builds dated 2007-06-14 or newer. The mochitests on bug 375003 covers the 2nd testcase (and a lot more). -> FIXED (by bug 375003)
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
in-testsuite+ per comment 7.
Flags: in-testsuite? → in-testsuite+
Flags: blocking1.9?
Verified FIXED using Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a6pre) Gecko/20070615 Minefield/3.0a6pre with all of the testcases in this bug (both live and attached).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: