summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLCollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLCollection.cpp')
-rw-r--r--WebCore/html/HTMLCollection.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/WebCore/html/HTMLCollection.cpp b/WebCore/html/HTMLCollection.cpp
index 76de60a..de4c424 100644
--- a/WebCore/html/HTMLCollection.cpp
+++ b/WebCore/html/HTMLCollection.cpp
@@ -27,7 +27,6 @@
#include "HTMLElement.h"
#include "HTMLNames.h"
#include "HTMLObjectElement.h"
-#include "HTMLOptionElement.h"
#include "NodeList.h"
#include <utility>
@@ -105,7 +104,6 @@ Element* HTMLCollection::itemAfter(Element* previous) const
case MapAreas:
case OtherCollection:
case SelectOptions:
- case DataListOptions:
case WindowNamedItems:
break;
case NodeChildren:
@@ -155,13 +153,6 @@ Element* HTMLCollection::itemAfter(Element* previous) const
if (e->hasLocalName(optionTag))
return e;
break;
- case DataListOptions:
- if (e->hasLocalName(optionTag)) {
- HTMLOptionElement* option = static_cast<HTMLOptionElement*>(e);
- if (!option->disabled() && !option->value().isEmpty())
- return e;
- }
- break;
case MapAreas:
if (e->hasLocalName(areaTag))
return e;