| Index: sky/engine/core/dom/DOMTokenList.cpp
|
| diff --git a/sky/engine/core/dom/DOMTokenList.cpp b/sky/engine/core/dom/DOMTokenList.cpp
|
| index 001af3a2d4fd9ffae4f6af069667a6042037e496..0fea487dd3e04f87a17ce9046dfe1fa56544988c 100644
|
| --- a/sky/engine/core/dom/DOMTokenList.cpp
|
| +++ b/sky/engine/core/dom/DOMTokenList.cpp
|
| @@ -83,6 +83,11 @@ void DOMTokenList::setValue(const AtomicString& value)
|
| m_element->setAttribute(HTMLNames::classAttr, value);
|
| }
|
|
|
| +void DOMTokenList::clear()
|
| +{
|
| + m_element->removeAttribute(HTMLNames::classAttr);
|
| +}
|
| +
|
| bool DOMTokenList::validateToken(const String& token, ExceptionState& exceptionState)
|
| {
|
| if (token.isEmpty()) {
|
|
|