Currently the SplitView code relies on offsetWidth/offsetHeight to get the dimension which is constant and set in CSS.
Created attachment 187290 [details] Patch
Comment on attachment 187290 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=187290&action=review > Source/WebCore/inspector/front-end/SplitView.js:-295 > - var resizerWidth = this._resizerElement.offsetWidth; Why making resize 0-width? You should simply cache the value or calculate it before you damage layout in _removeAllLayoutProperties above.
Comment on attachment 187290 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=187290&action=review >> Source/WebCore/inspector/front-end/SplitView.js:-295 >> - var resizerWidth = this._resizerElement.offsetWidth; > > Why making resize 0-width? You should simply cache the value or calculate it before you damage layout in _removeAllLayoutProperties above. Ok, taking it back - Vsevolod explained to me that it did not change. But why duping -2.5 for 5?
As discussed offline with Pavel splitter should hover equally on both side of the split view by default. Let's cache offsetWidth once and keep division by 2 for now.