Add getElementById to DocumentFragment
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.