Title: [112589] trunk/Source/WebCore
Revision
112589
Author
[email protected]
Date
2012-03-29 15:32:39 -0700 (Thu, 29 Mar 2012)

Log Message

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

Patch by Joseph Pecoraro <[email protected]> on 2012-03-29
Reviewed by Benjamin Poulain.

* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::parseAttribute):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (112588 => 112589)


--- trunk/Source/WebCore/ChangeLog	2012-03-29 22:32:08 UTC (rev 112588)
+++ trunk/Source/WebCore/ChangeLog	2012-03-29 22:32:39 UTC (rev 112589)
@@ -1,3 +1,13 @@
+2012-03-29  Joseph Pecoraro  <[email protected]>
+
+        InputType attribute changed functions should happen after the attribute change
+        https://bugs.webkit.org/show_bug.cgi?id=82644
+
+        Reviewed by Benjamin Poulain.
+
+        * html/HTMLInputElement.cpp:
+        (WebCore::HTMLInputElement::parseAttribute):
+
 2012-03-29  Bear Travis  <[email protected]>
 
         Update CSS Exclusion wrap-flow values left & right to start & end

Modified: trunk/Source/WebCore/html/HTMLInputElement.cpp (112588 => 112589)


--- trunk/Source/WebCore/html/HTMLInputElement.cpp	2012-03-29 22:32:08 UTC (rev 112588)
+++ trunk/Source/WebCore/html/HTMLInputElement.cpp	2012-03-29 22:32:39 UTC (rev 112589)
@@ -771,11 +771,11 @@
     } else if (attr->name() == patternAttr || attr->name() == precisionAttr)
         setNeedsValidityCheck();
     else if (attr->name() == disabledAttr) {
+        HTMLTextFormControlElement::parseAttribute(attr);
         m_inputType->disabledAttributeChanged();
+    } else if (attr->name() == readonlyAttr) {
         HTMLTextFormControlElement::parseAttribute(attr);
-    } else if (attr->name() == readonlyAttr) {
         m_inputType->readonlyAttributeChanged();
-        HTMLTextFormControlElement::parseAttribute(attr);
     }
 #if ENABLE(DATALIST)
     else if (attr->name() == listAttr)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to