From 49233e234e5c787396cadb2cea33b31ae0cd65c1 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 20 Jun 2012 13:01:08 +0200 Subject: Imported WebKit commit 3a8c29f35d00659d2ce7a0ccdfa8304f14e82327 (http://svn.webkit.org/repository/webkit/trunk@120813) New snapshot with Windows build fixes --- Source/WebCore/html/HTMLCollection.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Source/WebCore/html/HTMLCollection.cpp') diff --git a/Source/WebCore/html/HTMLCollection.cpp b/Source/WebCore/html/HTMLCollection.cpp index a908da0a3..c20c464e8 100644 --- a/Source/WebCore/html/HTMLCollection.cpp +++ b/Source/WebCore/html/HTMLCollection.cpp @@ -61,7 +61,6 @@ bool HTMLCollection::shouldIncludeChildren(CollectionType type) case MapAreas: case OtherCollection: case SelectOptions: - case SelectedOptions: case DataListOptions: case WindowNamedItems: #if ENABLE(MICRODATA) @@ -119,13 +118,6 @@ inline bool HTMLCollection::isAcceptableElement(Element* element) const return element->hasLocalName(trTag); case SelectOptions: return element->hasLocalName(optionTag); - case SelectedOptions: - if (element->hasLocalName(optionTag)) { - HTMLOptionElement* option = static_cast(element); - if (option->selected()) - return true; - } - return false; case DataListOptions: if (element->hasLocalName(optionTag)) { HTMLOptionElement* option = static_cast(element); -- cgit v1.2.1