Changeset 112589 in webkit


Ignore:
Timestamp:
Mar 29, 2012 3:32:39 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

InputType attribute changed functions should happen after the attribute change
https://bugs.webkit.org/show_bug.cgi?id=82644

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2012-03-29
Reviewed by Benjamin Poulain.

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::parseAttribute):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r112587 r112589  
     12012-03-29  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        InputType attribute changed functions should happen after the attribute change
     4        https://bugs.webkit.org/show_bug.cgi?id=82644
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * html/HTMLInputElement.cpp:
     9        (WebCore::HTMLInputElement::parseAttribute):
     10
    1112012-03-29  Bear Travis  <betravis@adobe.com>
    212
  • trunk/Source/WebCore/html/HTMLInputElement.cpp

    r111051 r112589  
    772772        setNeedsValidityCheck();
    773773    else if (attr->name() == disabledAttr) {
     774        HTMLTextFormControlElement::parseAttribute(attr);
    774775        m_inputType->disabledAttributeChanged();
     776    } else if (attr->name() == readonlyAttr) {
    775777        HTMLTextFormControlElement::parseAttribute(attr);
    776     } else if (attr->name() == readonlyAttr) {
    777778        m_inputType->readonlyAttributeChanged();
    778         HTMLTextFormControlElement::parseAttribute(attr);
    779779    }
    780780#if ENABLE(DATALIST)
Note: See TracChangeset for help on using the changeset viewer.