this is the last "formatting context type" bit in layout tree.
<rdar://problem/53923980>
Created attachment 375510 [details] Patch
Comment on attachment 375510 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=375510&action=review > Source/WebCore/layout/LayoutState.cpp:205 > + auto quirksMode = QuirksMode::No; > + if (renderView.document().inLimitedQuirksMode()) > + quirksMode = QuirksMode::Limited; > + else if (renderView.document().inQuirksMode()) > + quirksMode = QuirksMode::Yes; This might be nicer as a lambda.
Created attachment 375600 [details] Patch
(In reply to Antti Koivisto from comment #3) > Comment on attachment 375510 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=375510&action=review > > > Source/WebCore/layout/LayoutState.cpp:205 > > + auto quirksMode = QuirksMode::No; > > + if (renderView.document().inLimitedQuirksMode()) > > + quirksMode = QuirksMode::Limited; > > + else if (renderView.document().inQuirksMode()) > > + quirksMode = QuirksMode::Yes; > > This might be nicer as a lambda. Good idea.
Comment on attachment 375600 [details] Patch Clearing flags on attachment: 375600 Committed r248290: <https://trac.webkit.org/changeset/248290>
All reviewed patches have been landed. Closing bug.