Web Inspector: Improve auto completion typing performance by avoiding global forced...
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Sep 2019 00:50:27 +0000 (00:50 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Sep 2019 00:50:27 +0000 (00:50 +0000)
https://bugs.webkit.org/show_bug.cgi?id=201735

Reviewed by Devin Rousso.

* UserInterface/Views/Main.css:
(#layout-measurement-container):
* UserInterface/Base/Main.js:
(WI.measureElement):
Provide a helper for measuring an element in a hidden container
that helps avoid more global layout.

* UserInterface/Views/CompletionSuggestionsView.js:
(WI.CompletionSuggestionsView.prototype.show):
Use measure element to avoid a global forced layout.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249863 268f45cc-cd09-0410-ab3c-d52691b4dbfc


No differences found