WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
21976
event.target.y returns parent tags top positioning
https://bugs.webkit.org/show_bug.cgi?id=21976
Summary
event.target.y returns parent tags top positioning
ocampo
Reported
2008-10-30 10:56:03 PDT
1. go to website above and hover mouse over menu bar under "Department of Housing" 2. wait for menu to appear (don't click) 3. can also go to linked pages and repeat process (not tested with all links) What is the expected result? Expected drop-down menu to appear just below menu title. What happens instead? Drop-down menu appears farther down the page so that only some of the options are accessible.
Attachments
reduction
(424 bytes, text/html)
2008-10-30 10:58 PDT
,
ocampo
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
ocampo
Comment 1
2008-10-30 10:58:49 PDT
Created
attachment 24775
[details]
reduction In Firefox, event.target.y = 0. Safari and Chrome is 192 because the parent of the image (in this case, a <div>) has a top positioning of 192px.
Ahmad Saleem
Comment 2
2022-06-21 09:28:35 PDT
I am able to reproduce this bug in Safari 15.5 on macOS 12.4. All browsers differ from each other: Safari 15.5 - 192 Firefox Nightly 103 - 0 Chrome Canary 105 - 384 (twice of Safari) NOTE - In reduction test case, "image" is now broken but upon hover, the test is working fine. Thanks!
Radar WebKit Bug Importer
Comment 3
2022-06-21 09:29:04 PDT
<
rdar://problem/95607294
>
Ahmad Saleem
Comment 4
2023-12-19 18:08:47 PST
(In reply to Ahmad Saleem from
comment #2
)
> I am able to reproduce this bug in Safari 15.5 on macOS 12.4. All browsers > differ from each other: > > Safari 15.5 - 192 > > Firefox Nightly 103 - 0 > > Chrome Canary 105 - 384 (twice of Safari) > > NOTE - In reduction test case, "image" is now broken but upon hover, the > test is working fine. > > Thanks!
Firefox Nightly 123 shows 192 and matching Safari.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug