summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLOptGroupElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLOptGroupElement.cpp')
-rw-r--r--WebCore/html/HTMLOptGroupElement.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/WebCore/html/HTMLOptGroupElement.cpp b/WebCore/html/HTMLOptGroupElement.cpp
index 7db0924..091e0f2 100644
--- a/WebCore/html/HTMLOptGroupElement.cpp
+++ b/WebCore/html/HTMLOptGroupElement.cpp
@@ -86,12 +86,6 @@ void HTMLOptGroupElement::recalcSelectOptions()
static_cast<HTMLSelectElement*>(select)->setRecalcListItems();
}
-bool HTMLOptGroupElement::checkDTD(const Node* newChild)
-{
- // Make sure to keep this in sync with <select> (other than not allowing an optgroup).
- return newChild->isTextNode() || newChild->hasTagName(HTMLNames::optionTag) || newChild->hasTagName(HTMLNames::hrTag) || newChild->hasTagName(HTMLNames::scriptTag);
-}
-
void HTMLOptGroupElement::attach()
{
if (parentNode()->renderStyle())