Bug 254982

Summary: Use isInDocumentTree in HTMLElement::editabilityFromContentEditableAttr
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryosuke Niwa 2023-04-04 01:45:41 PDT
We can slightly improve the code in HTMLElement::editabilityFromContentEditableAttr by using isInDocumentTree() instead of checking the root node.
Comment 1 Ryosuke Niwa 2023-04-04 01:49:00 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12371
Comment 2 EWS 2023-04-04 22:23:58 PDT
Committed 262610@main (f99ac2f68753): <https://commits.webkit.org/262610@main>

Reviewed commits have been landed. Closing PR #12371 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-04-04 22:24:15 PDT
<rdar://problem/107645542>