DevTools: Fix a scrollbar incorrectly appearing in some glasspanes
This measures the content inside a glasspane with getBoundingClientRect instead of offsetHeight. When the content had a non-integer height, offsetHeight could be rounded down from the real height. This would cause a scrollbar to appear. Change-Id: Ib9b4067e74c41e1649e35be2827147d2e2f23f3f Reviewed-on: https://chromium-review.googlesource.com/1167652Reviewed-by:Erik Luo <luoe@chromium.org> Commit-Queue: Joel Einbinder <einbinder@chromium.org> Cr-Commit-Position: refs/heads/master@{#590426}
Showing
Please register or sign in to comment