| Index: sky/engine/core/html/HTMLElement.cpp
|
| diff --git a/sky/engine/core/html/HTMLElement.cpp b/sky/engine/core/html/HTMLElement.cpp
|
| index 81da447a4205885fcdb273cb31fbcd529d251ac4..7d1775513da006ea98440275e2c44b8fc5418c39 100644
|
| --- a/sky/engine/core/html/HTMLElement.cpp
|
| +++ b/sky/engine/core/html/HTMLElement.cpp
|
| @@ -135,26 +135,6 @@ bool HTMLElement::isInteractiveContent() const
|
| return false;
|
| }
|
|
|
| -bool HTMLElement::matchesReadOnlyPseudoClass() const
|
| -{
|
| - return !matchesReadWritePseudoClass();
|
| -}
|
| -
|
| -bool HTMLElement::matchesReadWritePseudoClass() const
|
| -{
|
| - if (hasAttribute(HTMLNames::contenteditableAttr)) {
|
| - const AtomicString& value = getAttribute(HTMLNames::contenteditableAttr);
|
| -
|
| - 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()->hasEditableStyle();
|
| -}
|
| -
|
| const AtomicString& HTMLElement::eventParameterName()
|
| {
|
| DEFINE_STATIC_LOCAL(const AtomicString, eventString, ("event", AtomicString::ConstructFromLiteral));
|
|
|