Bug 124457 - css resize does not go below width/height
Summary: css resize does not go below width/height
Status: RESOLVED DUPLICATE of bug 72948
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-16 11:12 PST by Andre Schmidt
Modified: 2014-01-16 05:29 PST (History)
1 user (show)

See Also:


Attachments
css resize block element (315 bytes, text/html)
2013-11-16 11:12 PST, Andre Schmidt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Schmidt 2013-11-16 11:12:16 PST
Created attachment 217129 [details]
css resize block element

when a div element has the following css:

min-width: 10px;
min-height: 10px;
width: 200px;
height: 200px;
max-width: 400px;
max-height: 400px;
overflow: hidden;
resize: both;

the user can't re-size below width/height, down to min-width/height.
but can re-size above width/height, up to max-width/height.

i got this behavior on chromium 30.0.1599.66 (node-webkit) and google chrome 31.0.1650.57.

it should be allowed for user to re-size a block element with css "resize:both" below width/height, down to min-width/height. (FWIW: firefox allows this)

cheers
.andre
Comment 1 gur.trio 2014-01-16 05:09:42 PST
(In reply to comment #0)
> Created an attachment (id=217129) [details]
> css resize block element
> 
> when a div element has the following css:
> 
> min-width: 10px;
> min-height: 10px;
> width: 200px;
> height: 200px;
> max-width: 400px;
> max-height: 400px;
> overflow: hidden;
> resize: both;
> 
> the user can't re-size below width/height, down to min-width/height.
> but can re-size above width/height, up to max-width/height.
> 
> i got this behavior on chromium 30.0.1599.66 (node-webkit) and google chrome 31.0.1650.57.
> 
> it should be allowed for user to re-size a block element with css "resize:both" below width/height, down to min-width/height. (FWIW: firefox allows this)
> 
> cheers
> .andre

Hi Andre. Is this behaviour of FF as per any spec? Or is there any content which talks about what should the behaviour for the attached test case? I am searching but not nothing specific I found. If you have can you please share the data. I am interested to work on this if the behaviour requires a fix.
Comment 2 gur.trio 2014-01-16 05:29:36 PST

*** This bug has been marked as a duplicate of bug 72948 ***