<?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>79380</bug_id>
          
          <creation_ts>2012-02-23 11:12:42 -0800</creation_ts>
          <short_desc>resize property doesn&apos;t work on images</short_desc>
          <delta_ts>2012-08-13 16:08:48 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>12250</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>bdakin</cc>
    
    <cc>kojii</cc>
    
    <cc>leviw</cc>
    
    <cc>pcdevil7</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>styu007</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>563273</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-02-23 11:12:42 -0800</bug_when>
    <thetext>Demo: http://simple-rte.rniwa.com/?editor=%3Cimg%20src%3D%22https%3A//rniwa.com/wp-content/latex/5f7/5f70c79d395af9fe2eb98c8b362d0bed-ffffff-000000-0.png%22%20style%3D%22overflow%3Aauto%3Bresize%3Aboth%3B%22%3E&amp;designmode=false&amp;script=document.getElementById%28%27editor%27%29.focus%28%29%3B</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563835</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-02-23 19:19:54 -0800</bug_when>
    <thetext>+adele since she&apos;s the original author of the resize handle in http://trac.webkit.org/changeset/14674.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563906</commentid>
    <comment_count>2</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2012-02-23 21:30:47 -0800</bug_when>
    <thetext>Resize only applies to &quot;elements with ‘overflow’ other than visible&quot;.  Can an image have overflow?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563925</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-02-23 21:58:15 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Resize only applies to &quot;elements with ‘overflow’ other than visible&quot;.  Can an image have overflow?

I can manually set overflow: hidden but maybe they&apos;re ignored?  The computed style says overflow-x and overflow-y are both auto :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563927</commentid>
    <comment_count>4</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2012-02-23 22:13:12 -0800</bug_when>
    <thetext>I think overflow doesn&apos;t apply to an image element because it is a replaced element.  But don&apos;t quote me on that...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563940</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-02-23 22:33:24 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; I think overflow doesn&apos;t apply to an image element because it is a replaced element.  But don&apos;t quote me on that...

You&apos;re right. The spec says so: http://www.w3.org/TR/css3-box/#overflow1 although MDN claims Firefox applies it to replaced elements as well but this isn&apos;t the case as far as I tested on Firefox 9: https://developer.mozilla.org/en/CSS/resize</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>615982</commentid>
    <comment_count>6</comment_count>
    <who name="Koji Ishii">kojii</who>
    <bug_when>2012-05-03 23:12:34 -0700</bug_when>
    <thetext>Aren&apos;t images and other replaced elements simply resizable regardless of the resize property? It looks like IE/FF behaves so.

If so, I guess this is dup of bug 7154.

In addition, IE9 selects div and show resize handle if it has width or height, and then show carets on the next click. There may be preferences on this behavior, but at least making replaced elements selectable and resizable makes sense to me, with or without the resize property set.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>