Changeset 50618 in webkit


Ignore:
Timestamp:
Nov 7, 2009 6:31:48 PM (14 years ago)
Author:
dbates@webkit.org
Message:

2009-11-07 Daniel Bates <dbates@webkit.org>

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=20780


Fixes an issue where the onchange event handler is not fired when the
input field is autocompleted.


We cannot test this using DRT since DRT cannot emulate autocompletion.
So, a manual-test is included.

Tests: manual-tests/autocompletion-fire-onchange.html

  • manual-tests/autocompletion-fire-onchange.html: Added.
  • rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::setInnerTextValue):
Location:
trunk/WebCore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r50616 r50618  
     12009-11-07  Daniel Bates  <dbates@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=20780
     6       
     7        Fixes an issue where the onchange event handler is not fired when the
     8        input field is autocompleted.
     9       
     10        We cannot test this using DRT since DRT cannot emulate autocompletion.
     11        So, a manual-test is included.
     12
     13        Tests: manual-tests/autocompletion-fire-onchange.html
     14
     15        * manual-tests/autocompletion-fire-onchange.html: Added.
     16        * rendering/RenderTextControl.cpp:
     17        (WebCore::RenderTextControl::setInnerTextValue):
     18
    1192009-11-07  Benjamin Otte  <otte@gnome.org>
    220
  • trunk/WebCore/rendering/RenderTextControl.cpp

    r48792 r50618  
    196196        }
    197197
    198         m_edited = false;
     198        // We set m_userEdited to false since this change was not explicty made by the user (say, via typing on the keyboard), see <rdar://problem/5359921>.
    199199        m_userEdited = false;
    200200    }
Note: See TracChangeset for help on using the changeset viewer.