| 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 } | 339 } |
| 340 | 340 |
| 341 bool HTMLFormControlElement::isRequired() const { | 341 bool HTMLFormControlElement::isRequired() const { |
| 342 return fastHasAttribute(requiredAttr); | 342 return fastHasAttribute(requiredAttr); |
| 343 } | 343 } |
| 344 | 344 |
| 345 String HTMLFormControlElement::resultForDialogSubmit() { | 345 String HTMLFormControlElement::resultForDialogSubmit() { |
| 346 return fastGetAttribute(valueAttr); | 346 return fastGetAttribute(valueAttr); |
| 347 } | 347 } |
| 348 | 348 |
| 349 void HTMLFormControlElement::didRecalcStyle() { | 349 void HTMLFormControlElement::didRebuildLayoutTree() { |
| 350 if (LayoutObject* layoutObject = this->layoutObject()) | 350 if (LayoutObject* layoutObject = this->layoutObject()) |
| 351 layoutObject->updateFromElement(); | 351 layoutObject->updateFromElement(); |
| 352 } | 352 } |
| 353 | 353 |
| 354 bool HTMLFormControlElement::supportsFocus() const { | 354 bool HTMLFormControlElement::supportsFocus() const { |
| 355 return !isDisabledFormControl(); | 355 return !isDisabledFormControl(); |
| 356 } | 356 } |
| 357 | 357 |
| 358 bool HTMLFormControlElement::isKeyboardFocusable() const { | 358 bool HTMLFormControlElement::isKeyboardFocusable() const { |
| 359 // Skip tabIndex check in a parent class. | 359 // Skip tabIndex check in a parent class. |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 const Element& source) { | 634 const Element& source) { |
| 635 HTMLElement::copyNonAttributePropertiesFromElement(source); | 635 HTMLElement::copyNonAttributePropertiesFromElement(source); |
| 636 setNeedsValidityCheck(); | 636 setNeedsValidityCheck(); |
| 637 } | 637 } |
| 638 | 638 |
| 639 void HTMLFormControlElement::associateWith(HTMLFormElement* form) { | 639 void HTMLFormControlElement::associateWith(HTMLFormElement* form) { |
| 640 associateByParser(form); | 640 associateByParser(form); |
| 641 }; | 641 }; |
| 642 | 642 |
| 643 } // namespace blink | 643 } // namespace blink |
| OLD | NEW |