[Webkit-unassigned] [Bug 140664] Web Inspector: Make collapsed sidebars undraggable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 8 07:28:37 PST 2015


--- Comment #5 from Nikita Vasilyev <nvasilyev at apple.com> ---
Created attachment 246241
  --> https://bugs.webkit.org/attachment.cgi?id=246241&action=review
Animated GIF: Bug with `display:none`

`.sidebar.collapsed {display: none}` introduces a bug, see the attached GIF.

offsetWidth and totalOffsetLeft properties are 0 while resizing:

    _resizerMouseMoved: function(event)
        if (this._side === WebInspector.Sidebar.Sides.Left)
            var newWidth = event.pageX - this._element.totalOffsetLeft;
            var newWidth = this._element.totalOffsetLeft + this._element.offsetWidth - event.pageX;

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150208/4fff4df9/attachment-0002.html>

More information about the webkit-unassigned mailing list