DescriptionDevTools: [Console] Separate height caching from willHide event
This patch introduces ViewportElement.cacheHeight() method which is
called by viewport control in appropriate time to let viewportElement
cache its height. Currently, ViewportElement.willHide() method is
responsible for height caching.
ViewportElement.cacheHeight() must not invalidate DOM. This is not
the case for willHide() method due to the console.table implementation
which removes inner DataGrid views. The bug happens because of the
"scroller securing" (see ViewportElement.refresh method) being done after
the sequence of willHide() calls.
BUG=385685
R=aandrey, pfeldman
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176431
Patch Set 1 #
Total comments: 1
Patch Set 2 : cacheHeight -> cacheFastHeight #
Messages
Total messages: 8 (0 generated)
|