<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>21976</bug_id>
          
          <creation_ts>2008-10-30 10:56:03 -0700</creation_ts>
          <short_desc>event.target.y returns parent tags top positioning</short_desc>
          <delta_ts>2023-12-19 18:08:47 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www.sjhousing.org/index.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ocampo">aocampo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>cdumez</cc>
    
    <cc>karlcow</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97137</commentid>
    <comment_count>0</comment_count>
    <who name="ocampo">aocampo</who>
    <bug_when>2008-10-30 10:56:03 -0700</bug_when>
    <thetext>1. go to website above and hover mouse over menu bar under &quot;Department of 
Housing&quot; 
2. wait for menu to appear (don&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97138</commentid>
    <comment_count>1</comment_count>
      <attachid>24775</attachid>
    <who name="ocampo">aocampo</who>
    <bug_when>2008-10-30 10:58:49 -0700</bug_when>
    <thetext>Created attachment 24775
reduction

In Firefox, event.target.y = 0. 
Safari and Chrome is 192 because the parent of the image (in this case, a &lt;div&gt;) has a top positioning of 192px.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876974</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-06-21 09:28:35 -0700</bug_when>
    <thetext>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, &quot;image&quot; is now broken but upon hover, the test is working fine.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876975</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-21 09:29:04 -0700</bug_when>
    <thetext>&lt;rdar://problem/95607294&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000924</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-12-19 18:08:47 -0800</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #2)
&gt; I am able to reproduce this bug in Safari 15.5 on macOS 12.4. All browsers
&gt; differ from each other:
&gt; 
&gt; Safari 15.5 - 192
&gt; 
&gt; Firefox Nightly 103 - 0
&gt; 
&gt; Chrome Canary 105 - 384 (twice of Safari)
&gt; 
&gt; NOTE - In reduction test case, &quot;image&quot; is now broken but upon hover, the
&gt; test is working fine.
&gt; 
&gt; Thanks!

Firefox Nightly 123 shows 192 and matching Safari.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>24775</attachid>
            <date>2008-10-30 10:58:49 -0700</date>
            <delta_ts>2008-10-30 10:58:49 -0700</delta_ts>
            <desc>reduction</desc>
            <filename>test_simple.html</filename>
            <type>text/html</type>
            <size>424</size>
            <attacher name="ocampo">aocampo</attacher>
            
              <data encoding="base64">PGh0bWw+DQo8aGVhZD4NCgk8c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCI+DQoJCWZ1bmN0
aW9uIG15ZnVuYyhldmVudCkNCgkJeyANCgkJCWFsZXJ0KCJldmVudC50YXJnZXQueTogIiArZXZl
bnQudGFyZ2V0LnkpOw0KCQl9DQoJPC9zY3JpcHQ+DQo8L2hlYWQ+DQo8Ym9keT4NCkhvdmVyIG92
ZXIgdGhlIGltYWdlIDxiciAvPg0KPGRpdiBpZD0ibmF2YmFyIiBzdHlsZT0icG9zaXRpb246IGFi
c29sdXRlOyB0b3A6IDE5MnB4OyB2aXNpYmlsaXR5OiB2aXNpYmxlOyI+IA0KICAgCTxpbWcgaGVp
Z2h0PSIxOCIgd2lkdGg9Ijk1IiBib3JkZXI9IjAiIGFsdD0iRGVwYXJ0bWVudCIgc3JjPSJiaXp0
ZWNoX2IyLmdpZiIgb25tb3VzZW92ZXI9Im15ZnVuYyhldmVudCk7cmV0dXJuIGZhbHNlOyI+DQo8
L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>