Bug 104223 - [Shadow] ShadowRoot.getElementById is slow when ShadowRoot is orphan.
Summary: [Shadow] ShadowRoot.getElementById is slow when ShadowRoot is orphan.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 87815
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-05 22:48 PST by Shinya Kawanaka
Modified: 2012-12-18 21:50 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shinya Kawanaka 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.
Comment 1 Shinya Kawanaka 2012-12-18 21:50:45 PST
Since Bug 87815 is resolved without needing this bug, let's close this anyway.