Index: Source/WebCore/html/HTMLFormControlElement.h |
=================================================================== |
--- Source/WebCore/html/HTMLFormControlElement.h (revision 119622) |
+++ Source/WebCore/html/HTMLFormControlElement.h (working copy) |
@@ -51,7 +51,6 @@ |
void setFormMethod(const String&); |
bool formNoValidate() const; |
- void updateFieldSetAndLegendAncestor() const; |
void ancestorDisabledStateWasChanged(); |
virtual void reset() { } |
@@ -150,16 +149,16 @@ |
virtual bool isDefaultButtonForForm() const; |
virtual bool isValidFormControlElement(); |
String visibleValidationMessage() const; |
+ void updateAncestorDisabledState() const; |
- mutable HTMLFieldSetElement* m_fieldSetAncestor; |
- mutable HTMLLegendElement* m_legendAncestor; |
OwnPtr<ValidationMessage> m_validationMessage; |
- mutable bool m_fieldSetAncestorValid : 1; |
bool m_disabled : 1; |
bool m_readOnly : 1; |
bool m_required : 1; |
bool m_valueMatchesRenderer : 1; |
+ enum AncestorDisabledState { AncestorDisabledStateUnknown, AncestorDisabledStateEnabled, AncestorDisabledStateDisabled }; |
+ mutable AncestorDisabledState m_ancestorDisabledState; |
enum DataListAncestorState { Unknown, InsideDataList, NotInsideDataList }; |
mutable enum DataListAncestorState m_dataListAncestorState; |