| Index: Source/core/html/HTMLElement.cpp
|
| diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp
|
| index 57cd08514ec9b1a293ebb29528433b9bfd21a2e2..d1de67857906b24273d2485af849517d386a1ad6 100644
|
| --- a/Source/core/html/HTMLElement.cpp
|
| +++ b/Source/core/html/HTMLElement.cpp
|
| @@ -921,25 +921,6 @@ void HTMLElement::defaultEventHandler(Event* event)
|
| Element::defaultEventHandler(event);
|
| }
|
|
|
| -bool HTMLElement::matchesReadOnlyPseudoClass() const
|
| -{
|
| - return !matchesReadWritePseudoClass();
|
| -}
|
| -
|
| -bool HTMLElement::matchesReadWritePseudoClass() const
|
| -{
|
| - const AtomicString& value = fastGetAttribute(contenteditableAttr);
|
| - if (!value.isNull()) {
|
| - if (value.isEmpty() || equalIgnoringCase(value, "true") || equalIgnoringCase(value, "plaintext-only"))
|
| - return true;
|
| - if (equalIgnoringCase(value, "false"))
|
| - return false;
|
| - // All other values should be treated as "inherit".
|
| - }
|
| -
|
| - return parentElement() && parentElement()->rendererIsEditable();
|
| -}
|
| -
|
| void HTMLElement::handleKeypressEvent(KeyboardEvent* event)
|
| {
|
| if (!document().settings() || !document().settings()->spatialNavigationEnabled() || !supportsFocus())
|
|
|