Bug 1377447 - Add a new flush type between Frames and InterruptibleLayout to initialize layout if needed and use it from CheckIfFocusable; r=smaug
This commit is contained in:
@@ -216,7 +216,7 @@ nsHtml5TreeOpExecutor::SetParser(nsParserBase* aParser)
|
||||
void
|
||||
nsHtml5TreeOpExecutor::FlushPendingNotifications(FlushType aType)
|
||||
{
|
||||
if (aType >= FlushType::InterruptibleLayout) {
|
||||
if (aType >= FlushType::EnsurePresShellInitAndFrames) {
|
||||
// Bug 577508 / 253951
|
||||
nsContentSink::StartLayout(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user