| Summary: | Add getElementById to DocumentFragment | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||||
| Component: | New Bugs | Assignee: | Sam Weinig <sam> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | ||||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Sam Weinig
2015-05-15 22:48:44 PDT
Created attachment 253266 [details]
Patch
Created attachment 253270 [details]
Patch
Comment on attachment 253270 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253270&action=review > Source/WebCore/dom/DocumentFragment.cpp:97 > + // Add fast path for ShadowRoot, where we are both a DocumentFragment and a TreeScope. S/Add// ? > Source/WebCore/dom/DocumentFragment.cpp:101 > + // Otherwise, fallback to iterating all of the element descendants. "Fall back" should be with a space here I think. Committed revision 184435. Comment on attachment 253270 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253270&action=review > Source/WebCore/dom/NonElementParentNode.idl:31 > + Element getElementById([Default=Undefined,ObjCExplicitAtomicString,RequiresExistingAtomicString] optional DOMString elementId); Spaces after commas please. |