This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes a bug where while editing in the Inspector the
sidebar scroll position would jump to the top. https://bugs.webkit.org/show_bug.cgi?id=20484 Reviewed by Darin Adler. * page/inspector/treeoutline.js: (TreeOutline._removeChildren): Remove the offsetTop call that was forcing a layout, since layout causes scroll positions to be clamped to the new scrollHeight/Width. Layout will happen normally when needed. Canonical link: https://commits.webkit.org/28297@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@35891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 15 additions and 3 deletions.