Bug 229410
Summary: | Optimize inert attribute | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
Component: | DOM | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/82529669>
Tim Nguyen (:ntim)
Bug 229330 removes the tree traversal for most parts.
*** This bug has been marked as a duplicate of bug 229330 ***