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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 Document& document) | 51 Document& document) |
52 : LabelableElement(tagName, document), | 52 : LabelableElement(tagName, document), |
53 m_ancestorDisabledState(AncestorDisabledStateUnknown), | 53 m_ancestorDisabledState(AncestorDisabledStateUnknown), |
54 m_dataListAncestorState(Unknown), | 54 m_dataListAncestorState(Unknown), |
55 m_isAutofilled(false), | 55 m_isAutofilled(false), |
56 m_hasValidationMessage(false), | 56 m_hasValidationMessage(false), |
57 m_willValidateInitialized(false), | 57 m_willValidateInitialized(false), |
58 m_willValidate(true), | 58 m_willValidate(true), |
59 m_isValid(true), | 59 m_isValid(true), |
60 m_validityIsDirty(false), | 60 m_validityIsDirty(false), |
61 m_wasFocusedByMouse(false) { | 61 m_wasFocusedByMouse(false), |
| 62 m_blocksFormSubmission(false) { |
62 setHasCustomStyleCallbacks(); | 63 setHasCustomStyleCallbacks(); |
63 } | 64 } |
64 | 65 |
65 HTMLFormControlElement::~HTMLFormControlElement() {} | 66 HTMLFormControlElement::~HTMLFormControlElement() {} |
66 | 67 |
67 DEFINE_TRACE(HTMLFormControlElement) { | 68 DEFINE_TRACE(HTMLFormControlElement) { |
68 ListedElement::trace(visitor); | 69 ListedElement::trace(visitor); |
69 LabelableElement::trace(visitor); | 70 LabelableElement::trace(visitor); |
70 } | 71 } |
71 | 72 |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 const Element& source) { | 635 const Element& source) { |
635 HTMLElement::copyNonAttributePropertiesFromElement(source); | 636 HTMLElement::copyNonAttributePropertiesFromElement(source); |
636 setNeedsValidityCheck(); | 637 setNeedsValidityCheck(); |
637 } | 638 } |
638 | 639 |
639 void HTMLFormControlElement::associateWith(HTMLFormElement* form) { | 640 void HTMLFormControlElement::associateWith(HTMLFormElement* form) { |
640 associateByParser(form); | 641 associateByParser(form); |
641 }; | 642 }; |
642 | 643 |
643 } // namespace blink | 644 } // namespace blink |
OLD | NEW |