[Webkit-unassigned] [Bug 135335] New: `resize` treats `width` and `height` as minimum dimensions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 27 21:58:27 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=135335

           Summary: `resize` treats `width` and `height` as minimum
                    dimensions
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://dabblet.com/gist/bd3b8a4020da6ef681a0
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lea at w3.org
                CC: simon.fraser at apple.com


(Surprised this isn’t already reported but did a lot of searching and couldn’t find anything so filing just in case. Sorry if dupe!)

Yes, I know that this is technically allowed in css3-ui ("The user agent may restrict the resizing range to something suitable, such as between the original formatted size of the element, and large enough to encompass all the element's contents."), but this behavior is seriously crippling the usefulness of the resize property. 

A quick search reveals quite a few authors scratching their heads about this issue, for example (top 5):

http://stackoverflow.com/questions/12985133/resize-a-div-to-smaller-than-its-declared-size
http://stackoverflow.com/questions/18178301/how-can-i-use-css-resize-to-resize-an-element-to-a-height-width-less-than-init
http://stackoverflow.com/questions/15108716/how-to-resize-div-to-less-than-its-initial-width-height
http://stackoverflow.com/questions/7197136/using-css-to-resize-a-div-to-a-dimension-smaller-than-its-current-width-and-he
http://stackoverflow.com/questions/15766784/css-resize-min-width

Firefox only restricts it to the min-width/min-height, or if those are not set, to the dimensions of the resizer (roughly 15px by 15px).

Chrome does the same as WebKit, but it’s a confirmed bug they are about to fix: https://code.google.com/p/chromium/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Pri%20M%20Iteration%20ReleaseBlock%20Cr%20Status%20Owner%20Summary%20OS%20Modified&groupby=&sort=&id=94583

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list