Bug 104223

Summary: [Shadow] ShadowRoot.getElementById is slow when ShadowRoot is orphan.
Product: WebKit Reporter: Shinya Kawanaka <shinyak>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 87815    
Bug Blocks:    

Shinya Kawanaka
Reported 2012-12-05 22:48:57 PST
When ShadowRoot is not in a document tree, ShadowRoot.getElementById() searches all the descendent elements. This is slow.
Attachments
Shinya Kawanaka
Comment 1 2012-12-18 21:50:45 PST
Since Bug 87815 is resolved without needing this bug, let's close this anyway.
Note You need to log in before you can comment on or make changes to this bug.