RESOLVED WONTFIX 79380
resize property doesn't work on images
https://bugs.webkit.org/show_bug.cgi?id=79380
Summary resize property doesn't work on images
Attachments
Ryosuke Niwa
Comment 1 2012-02-23 19:19:54 PST
+adele since she's the original author of the resize handle in http://trac.webkit.org/changeset/14674.
Adele Peterson
Comment 2 2012-02-23 21:30:47 PST
Resize only applies to "elements with ‘overflow’ other than visible". Can an image have overflow?
Ryosuke Niwa
Comment 3 2012-02-23 21:58:15 PST
(In reply to comment #2) > Resize only applies to "elements with ‘overflow’ other than visible". Can an image have overflow? I can manually set overflow: hidden but maybe they're ignored? The computed style says overflow-x and overflow-y are both auto :(
Adele Peterson
Comment 4 2012-02-23 22:13:12 PST
I think overflow doesn't apply to an image element because it is a replaced element. But don't quote me on that...
Ryosuke Niwa
Comment 5 2012-02-23 22:33:24 PST
(In reply to comment #4) > I think overflow doesn't apply to an image element because it is a replaced element. But don't quote me on that... You'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't the case as far as I tested on Firefox 9: https://developer.mozilla.org/en/CSS/resize
Koji Ishii
Comment 6 2012-05-03 23:12:34 PDT
Aren'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.
Note You need to log in before you can comment on or make changes to this bug.