<?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>181818</bug_id>
          
          <creation_ts>2018-01-18 16:36:42 -0800</creation_ts>
          <short_desc>CSS resize handle can be covered by child (composited) elements</short_desc>
          <delta_ts>2023-04-18 13:03:35 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></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="Roko">roko.cb</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>timdream</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1390706</commentid>
    <comment_count>0</comment_count>
    <who name="Roko">roko.cb</who>
    <bug_when>2018-01-18 16:36:42 -0800</bug_when>
    <thetext># CSS `resize: both` handler issue

### Issue:

Parent CSS `resize` handler is shadowed by child element. (On Firefox it works. Handler is visible (painted on a higher Z-index layer) and receiver resize events).

### Description:

Resize handler shadowed by Canvas element (Similar to [144526](https://bugs.webkit.org/show_bug.cgi?id=144526) but regardless of absolute positioning)

### Test case:

https://jsfiddle.net/tqqhpa0f/1/

1. Handler not visible.
2. Even if not visible, when overlayed by IMG (see jsfiddle) it receives resize events.
3. When canvas element is child of our `resize` parent - the handler is not visible (like in IMG case) but it doesn&apos;t receives any events.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391710</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-01-22 10:38:03 -0800</bug_when>
    <thetext>&lt;rdar://problem/36739743&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873414</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-06-01 16:04:03 -0700</bug_when>
    <thetext>I am still able to reproduce this from attached JSFiddle in Comment 01 using Safari 15.5 on macOS 12.4.

I am unable to resize &quot;red&quot; canvas but when I expand, I can see yellow &lt;div&gt; and it can be resize. All other browsers like Chrome Canary 104 and Firefox Nightly 103 are able to resize &quot;red canvas&apos; as well.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949559</commentid>
    <comment_count>3</comment_count>
      <attachid>465972</attachid>
    <who name="Tim Guan-tin Chien [:timdream]">timdream</who>
    <bug_when>2023-04-18 13:03:35 -0700</bug_when>
    <thetext>Created attachment 465972
test case

Test case for the canvas case.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>465972</attachid>
            <date>2023-04-18 13:03:35 -0700</date>
            <delta_ts>2023-04-18 13:03:35 -0700</delta_ts>
            <desc>test case</desc>
            <filename>resizer.html</filename>
            <type>text/html</type>
            <size>1018</size>
            <attacher name="Tim Guan-tin Chien [:timdream]">timdream</attacher>
            
              <data encoding="base64">PHN0eWxlPgoKZGl2IHsKICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgLjIpOwog
ICAgd2lkdGg6IDMwMHB4OwogICAgaGVpZ2h0OiAzMDBweDsKICAgIC8qIHBhZGRpbmc6IDEwcHg7
ICov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