Reviewed by Ken.
[WebKit-https.git] / WebCore / khtml / dom / html_document.cpp
index 3e4a057e0a7293e9644a94f43b7f25cb6b2ffa43..eab1256025b0dab65acffe0295b2042e93f84042 100644 (file)
@@ -190,6 +190,12 @@ HTMLCollection HTMLDocument::all() const
     return HTMLCollection(impl, HTMLCollectionImpl::DOC_ALL);
 }
 
+HTMLCollection HTMLDocument::nameableItems() const
+{
+    if(!impl) return HTMLCollection();
+    return HTMLCollection(impl, HTMLCollectionImpl::DOC_NAMEABLE_ITEMS);
+}
+
 DOMString HTMLDocument::cookie() const
 {
    if (!impl) return DOMString();