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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 | 404 |
405 void beginParsingChildren() { setIsFinishedParsingChildren(false); } | 405 void beginParsingChildren() { setIsFinishedParsingChildren(false); } |
406 | 406 |
407 PseudoElement* pseudoElement(PseudoId) const; | 407 PseudoElement* pseudoElement(PseudoId) const; |
408 RenderObject* pseudoElementRenderer(PseudoId) const; | 408 RenderObject* pseudoElementRenderer(PseudoId) const; |
409 | 409 |
410 virtual bool matchesReadOnlyPseudoClass() const { return false; } | 410 virtual bool matchesReadOnlyPseudoClass() const { return false; } |
411 virtual bool matchesReadWritePseudoClass() const { return false; } | 411 virtual bool matchesReadWritePseudoClass() const { return false; } |
412 virtual bool matchesValidityPseudoClasses() const { return false; } | 412 virtual bool matchesValidityPseudoClasses() const { return false; } |
413 bool matches(const String& selectors, ExceptionState&); | 413 bool matches(const String& selectors, ExceptionState&); |
| 414 Element* closest(const String& selectors, ExceptionState&); |
414 virtual bool shouldAppearIndeterminate() const { return false; } | 415 virtual bool shouldAppearIndeterminate() const { return false; } |
415 | 416 |
416 DOMTokenList& classList(); | 417 DOMTokenList& classList(); |
417 | 418 |
418 DOMStringMap& dataset(); | 419 DOMStringMap& dataset(); |
419 | 420 |
420 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 421 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
421 virtual bool isDateTimeEditElement() const { return false; } | 422 virtual bool isDateTimeEditElement() const { return false; } |
422 virtual bool isDateTimeFieldElement() const { return false; } | 423 virtual bool isDateTimeFieldElement() const { return false; } |
423 virtual bool isPickerIndicatorElement() const { return false; } | 424 virtual bool isPickerIndicatorElement() const { return false; } |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 862 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
862 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 863 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
863 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 864 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
864 { \ | 865 { \ |
865 return adoptRefWillBeNoop(new T(tagName, document)); \ | 866 return adoptRefWillBeNoop(new T(tagName, document)); \ |
866 } | 867 } |
867 | 868 |
868 } // namespace | 869 } // namespace |
869 | 870 |
870 #endif // Element_h | 871 #endif // Element_h |
OLD | NEW |