Bug 254982 - Use isInDocumentTree in HTMLElement::editabilityFromContentEditableAttr
Summary: Use isInDocumentTree in HTMLElement::editabilityFromContentEditableAttr
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-04 01:45 PDT by Ryosuke Niwa
Modified: 2023-04-04 22:24 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>