We can slightly improve the code in HTMLElement::editabilityFromContentEditableAttr by using isInDocumentTree() instead of checking the root node.
Pull request: https://github.com/WebKit/WebKit/pull/12371
Committed 262610@main (f99ac2f68753): <https://commits.webkit.org/262610@main> Reviewed commits have been landed. Closing PR #12371 and removing active labels.
<rdar://problem/107645542>