Bug 15383

Summary: resize: vertical does not restrict to vertical resize
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, bryce, jjj, mitz
Priority: P2 Keywords: InRadar
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: data:text/html,<div style="border: solid; width: 200px; position: absolute; overflow: hidden; resize: -webkit-vertical; height: 200px;"><div><div style="height: 50%; background: red"></div></div></div>
Attachments:
Description Flags
Ignore movement along the non-resizing axis sam: review+

Eric Seidel (no email)
Reported 2007-10-05 15:40:09 PDT
resize: vertical does not restrict to vertical resize This seems easy to fix. It could just effectively do max-width: current width. The example is taken from another bug I'm filing. But you should only be able to resize the div vertically.
Attachments
Ignore movement along the non-resizing axis (5.23 KB, patch)
2009-06-21 13:52 PDT, mitz
sam: review+
Jan Boeijink
Comment 1 2007-11-21 01:10:07 PST
Horizontal restriction is broken as well.
mitz
Comment 2 2008-01-10 18:24:16 PST
mitz
Comment 3 2008-05-21 18:15:54 PDT
*** Bug 19170 has been marked as a duplicate of this bug. ***
Chris Suter
Comment 4 2008-05-28 21:15:58 PDT
It's possible to workaround this bug in some circumstances by setting setting the max-width attribute. However, this doesn't work if you use %ages. Setting max-width to 100%, say, will cause the computed max-width to end up as none. I'm not sure if this is another bug or not.
mitz
Comment 5 2009-06-21 13:52:50 PDT
Created attachment 31620 [details] Ignore movement along the non-resizing axis
mitz
Comment 6 2009-06-21 13:57:29 PDT
Note You need to log in before you can comment on or make changes to this bug.