Bug 229410

Summary: Optimize inert attribute
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: minthaylanaminthay, pochardwillowherb, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 165279    

Tim Nguyen (:ntim)
Reported 2021-08-23 08:37:53 PDT
isInert does a tree traversal for the inert attribute. One possible optimization is to add a flag on Document saying whether a node with an inert attribute has ever been used and only do the traversal in the case. One thing to be careful of is nodes potentially moving documents.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-08-30 08:38:18 PDT
Tim Nguyen (:ntim)
Comment 2 2021-10-04 00:39:35 PDT
Bug 229330 removes the tree traversal for most parts. *** This bug has been marked as a duplicate of bug 229330 ***
Note You need to log in before you can comment on or make changes to this bug.