| Index: Source/WebCore/dom/Element.cpp
|
| ===================================================================
|
| --- Source/WebCore/dom/Element.cpp (revision 146891)
|
| +++ Source/WebCore/dom/Element.cpp (working copy)
|
| @@ -1176,25 +1176,6 @@
|
| {
|
| }
|
|
|
| -bool Element::disabled() const
|
| -{
|
| -#if ENABLE(DIALOG_ELEMENT)
|
| - // FIXME: disabled and inert are separate concepts in the spec, but now we treat them as the same.
|
| - // For example, an inert, non-disabled form control should not be grayed out.
|
| - if (isInert())
|
| - return true;
|
| -#endif
|
| - return false;
|
| -}
|
| -
|
| -#if ENABLE(DIALOG_ELEMENT)
|
| -bool Element::isInert() const
|
| -{
|
| - Element* dialog = document()->activeModalDialog();
|
| - return dialog && !containsIncludingShadowDOM(dialog) && !dialog->containsIncludingShadowDOM(this);
|
| -}
|
| -#endif
|
| -
|
| Node::InsertionNotificationRequest Element::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| // need to do superclass processing first so inDocument() is true
|
|
|