Chromium Code Reviews

Unified Diff: Source/core/dom/DocumentFragment.idl

Issue 251633002: Add support for DocumentFragment.getElementById() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add duplicate id tests Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/dom/DocumentFragment.idl
diff --git a/Source/core/dom/DocumentFragment.idl b/Source/core/dom/DocumentFragment.idl
index 4c218ed191d099e78dc713d3ccaac901e1d8f783..005032a254e262464d636cccd1c2edcc3782e932 100644
--- a/Source/core/dom/DocumentFragment.idl
+++ b/Source/core/dom/DocumentFragment.idl
@@ -21,6 +21,8 @@
Constructor,
ConstructorCallWith=Document,
] interface DocumentFragment : Node {
+ // NonElementParentNode API.
+ Element getElementById(DOMString elementId);
};
DocumentFragment implements ParentNode;

Powered by Google App Engine