[Webkit-unassigned] [Bug 37842] Frame divider jumps back if frame gets too small during manual resizing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 21 00:40:58 PDT 2010


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





--- Comment #2 from Marc Bonnier <chrome at netscript.com>  2010-04-21 00:40:58 PST ---
If you consider the added test case #2: first resize the top panel to half,
then resize the bottom one to reach zero. The end result is that both panels
are reset to the original size.

Now suppose you use this is a UI as a working tool, this effect would not be
liked at all :), seen as a bug.
In a normal utilisation, a user will drag the resize handle until it can no
longer move the bar; with this
bug, the zero size is always reached while dragging and the panels are reset.
The user should not be able
to resize beyound and be stopped at zero.
There is no way to prevent resize operation from JavaScript, and setting the
frame size while the user is dragging is not good either (funny things
happens). So no possible workaround on my side.

I assume the requirement to avoid a frame size of zero is for security purpose
and this is correct but, the way it is implemented (reseting to original size)
is not.

Firefox's behavior to limit the resize to no less than 2px is the correct and
desirable one and avoid this kind of issue.

-- 
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