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) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 void setNeedsValidityCheck(); | 44 void setNeedsValidityCheck(); |
45 | 45 |
46 protected: | 46 protected: |
47 virtual void disabledAttributeChanged() override; | 47 virtual void disabledAttributeChanged() override; |
48 | 48 |
49 private: | 49 private: |
50 HTMLFieldSetElement(Document&, HTMLFormElement*); | 50 HTMLFieldSetElement(Document&, HTMLFormElement*); |
51 | 51 |
52 virtual bool isEnumeratable() const override { return true; } | 52 virtual bool isEnumeratable() const override { return true; } |
53 virtual bool supportsFocus() const override; | 53 virtual bool supportsFocus() const override; |
54 virtual RenderObject* createRenderer(const RenderStyle&) override; | 54 virtual LayoutObject* createRenderer(const RenderStyle&) override; |
55 virtual const AtomicString& formControlType() const override; | 55 virtual const AtomicString& formControlType() const override; |
56 virtual bool recalcWillValidate() const override { return false; } | 56 virtual bool recalcWillValidate() const override { return false; } |
57 virtual bool matchesValidityPseudoClasses() const override final; | 57 virtual bool matchesValidityPseudoClasses() const override final; |
58 virtual bool isValidElement() override final; | 58 virtual bool isValidElement() override final; |
59 virtual void childrenChanged(const ChildrenChange&) override; | 59 virtual void childrenChanged(const ChildrenChange&) override; |
60 virtual bool areAuthorShadowsAllowed() const override { return false; } | 60 virtual bool areAuthorShadowsAllowed() const override { return false; } |
61 | 61 |
62 static void invalidateDisabledStateUnder(Element&); | 62 static void invalidateDisabledStateUnder(Element&); |
63 void refreshElementsIfNeeded() const; | 63 void refreshElementsIfNeeded() const; |
64 | 64 |
65 mutable FormAssociatedElement::List m_associatedElements; | 65 mutable FormAssociatedElement::List m_associatedElements; |
66 // When dom tree is modified, we have to refresh the m_associatedElements ar
ray. | 66 // When dom tree is modified, we have to refresh the m_associatedElements ar
ray. |
67 mutable uint64_t m_documentVersion; | 67 mutable uint64_t m_documentVersion; |
68 }; | 68 }; |
69 | 69 |
70 } // namespace blink | 70 } // namespace blink |
71 | 71 |
72 #endif // HTMLFieldSetElement_h | 72 #endif // HTMLFieldSetElement_h |
OLD | NEW |