diff options
Diffstat (limited to 'Source/WebCore/html/HTMLInputElement.cpp')
-rw-r--r-- | Source/WebCore/html/HTMLInputElement.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/html/HTMLInputElement.cpp b/Source/WebCore/html/HTMLInputElement.cpp index d5d0aee..2b262e4 100644 --- a/Source/WebCore/html/HTMLInputElement.cpp +++ b/Source/WebCore/html/HTMLInputElement.cpp @@ -699,6 +699,8 @@ RenderObject* HTMLInputElement::createRenderer(RenderArena* arena, RenderStyle* void HTMLInputElement::attach() { + suspendPostAttachCallbacks(); + if (!m_hasType) updateType(); @@ -708,6 +710,8 @@ void HTMLInputElement::attach() if (document()->focusedNode() == this) document()->updateFocusAppearanceSoon(true /* restore selection */); + + resumePostAttachCallbacks(); } void HTMLInputElement::detach() |