| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 void beginParsingChildren() { setIsFinishedParsingChildren(false); } | 619 void beginParsingChildren() { setIsFinishedParsingChildren(false); } |
| 620 | 620 |
| 621 PseudoElement* pseudoElement(PseudoId) const; | 621 PseudoElement* pseudoElement(PseudoId) const; |
| 622 LayoutObject* pseudoElementLayoutObject(PseudoId) const; | 622 LayoutObject* pseudoElementLayoutObject(PseudoId) const; |
| 623 | 623 |
| 624 virtual bool matchesDefaultPseudoClass() const { return false; } | 624 virtual bool matchesDefaultPseudoClass() const { return false; } |
| 625 virtual bool matchesEnabledPseudoClass() const { return false; } | 625 virtual bool matchesEnabledPseudoClass() const { return false; } |
| 626 virtual bool matchesReadOnlyPseudoClass() const { return false; } | 626 virtual bool matchesReadOnlyPseudoClass() const { return false; } |
| 627 virtual bool matchesReadWritePseudoClass() const { return false; } | 627 virtual bool matchesReadWritePseudoClass() const { return false; } |
| 628 virtual bool matchesValidityPseudoClasses() const { return false; } | 628 virtual bool matchesValidityPseudoClasses() const { return false; } |
| 629 bool matches(const String& selectors, ExceptionState&); | 629 |
| 630 Element* closest(const String& selectors, ExceptionState&); | 630 // https://dom.spec.whatwg.org/#dom-element-matches |
| 631 bool matches(const AtomicString& selectors, |
| 632 ExceptionState& = ASSERT_NO_EXCEPTION); |
| 633 |
| 634 // https://dom.spec.whatwg.org/#dom-element-closest |
| 635 Element* closest(const AtomicString& selectors, |
| 636 ExceptionState& = ASSERT_NO_EXCEPTION); |
| 637 |
| 631 virtual bool shouldAppearIndeterminate() const { return false; } | 638 virtual bool shouldAppearIndeterminate() const { return false; } |
| 632 | 639 |
| 633 DOMTokenList& classList(); | 640 DOMTokenList& classList(); |
| 634 | 641 |
| 635 DOMStringMap& dataset(); | 642 DOMStringMap& dataset(); |
| 636 | 643 |
| 637 virtual bool isDateTimeEditElement() const { return false; } | 644 virtual bool isDateTimeEditElement() const { return false; } |
| 638 virtual bool isDateTimeFieldElement() const { return false; } | 645 virtual bool isDateTimeFieldElement() const { return false; } |
| 639 virtual bool isPickerIndicatorElement() const { return false; } | 646 virtual bool isPickerIndicatorElement() const { return false; } |
| 640 | 647 |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1203 #define DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1197 static T* create(const QualifiedName&, Document&) | 1204 static T* create(const QualifiedName&, Document&) |
| 1198 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 1205 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 1199 T* T::create(const QualifiedName& tagName, Document& document) { \ | 1206 T* T::create(const QualifiedName& tagName, Document& document) { \ |
| 1200 return new T(tagName, document); \ | 1207 return new T(tagName, document); \ |
| 1201 } | 1208 } |
| 1202 | 1209 |
| 1203 } // namespace blink | 1210 } // namespace blink |
| 1204 | 1211 |
| 1205 #endif // Element_h | 1212 #endif // Element_h |
| OLD | NEW |