Index: Source/WebCore/html/HTMLInputElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLInputElement.cpp (revision 87084) |
+++ Source/WebCore/html/HTMLInputElement.cpp (working copy) |
@@ -687,6 +687,8 @@ |
void HTMLInputElement::attach() |
{ |
+ suspendPostAttachCallbacks(); |
+ |
if (!m_hasType) |
updateType(); |
@@ -696,6 +698,8 @@ |
if (document()->focusedNode() == this) |
document()->updateFocusAppearanceSoon(true /* restore selection */); |
+ |
+ resumePostAttachCallbacks(); |
} |
void HTMLInputElement::detach() |