Bug 104223
| Summary: | [Shadow] ShadowRoot.getElementById is slow when ShadowRoot is orphan. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Shinya Kawanaka <shinyak> |
| Component: | DOM | Assignee: | 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
When ShadowRoot is not in a document tree, ShadowRoot.getElementById() searches all the descendent elements.
This is slow.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Shinya Kawanaka
Since Bug 87815 is resolved without needing this bug, let's close this anyway.