| 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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 if (m_ancestorDisabledState == AncestorDisabledStateUnknown) | 357 if (m_ancestorDisabledState == AncestorDisabledStateUnknown) |
| 358 updateAncestorDisabledState(); | 358 updateAncestorDisabledState(); |
| 359 return m_ancestorDisabledState == AncestorDisabledStateDisabled; | 359 return m_ancestorDisabledState == AncestorDisabledStateDisabled; |
| 360 } | 360 } |
| 361 | 361 |
| 362 bool HTMLFormControlElement::matchesEnabledPseudoClass() const | 362 bool HTMLFormControlElement::matchesEnabledPseudoClass() const |
| 363 { | 363 { |
| 364 return !isDisabledFormControl(); | 364 return !isDisabledFormControl(); |
| 365 } | 365 } |
| 366 | 366 |
| 367 bool HTMLFormControlElement::matchesDisabledPseudoClass() const |
| 368 { |
| 369 return isDisabledFormControl(); |
| 370 } |
| 371 |
| 367 bool HTMLFormControlElement::isRequired() const | 372 bool HTMLFormControlElement::isRequired() const |
| 368 { | 373 { |
| 369 return fastHasAttribute(requiredAttr); | 374 return fastHasAttribute(requiredAttr); |
| 370 } | 375 } |
| 371 | 376 |
| 372 String HTMLFormControlElement::resultForDialogSubmit() | 377 String HTMLFormControlElement::resultForDialogSubmit() |
| 373 { | 378 { |
| 374 return fastGetAttribute(valueAttr); | 379 return fastGetAttribute(valueAttr); |
| 375 } | 380 } |
| 376 | 381 |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 dispatchFormControlChangeEvent(); | 659 dispatchFormControlChangeEvent(); |
| 655 } | 660 } |
| 656 | 661 |
| 657 void HTMLFormControlElement::copyNonAttributePropertiesFromElement(const Element
& source) | 662 void HTMLFormControlElement::copyNonAttributePropertiesFromElement(const Element
& source) |
| 658 { | 663 { |
| 659 HTMLElement::copyNonAttributePropertiesFromElement(source); | 664 HTMLElement::copyNonAttributePropertiesFromElement(source); |
| 660 setNeedsValidityCheck(); | 665 setNeedsValidityCheck(); |
| 661 } | 666 } |
| 662 | 667 |
| 663 } // namespace blink | 668 } // namespace blink |
| OLD | NEW |