Changeset 73371

Timestamp:
12/06/10 08:49:52 (4 years ago)
Author:
dglazkov@chromium.org
Message:

Merge 73319 - 2010-12-03 Dimitri Glazkov <dglazkov@chromium.org>

Reviewed by Darin Adler.

REGRESSION(r71934): input event fires twice when editing text inside a text input.
https://bugs.webkit.org/show_bug.cgi?id=50477

  • fast/forms/text-input-event-expected.txt: Added.
  • fast/forms/text-input-event.html: Added.

2010-12-03 Dimitri Glazkov <dglazkov@chromium.org>

Reviewed by Darin Adler.

REGRESSION(r71934): input event fires twice when editing text inside a text input.
https://bugs.webkit.org/show_bug.cgi?id=50477

Now that events escape the shadow DOM boundary, the input event is fired twice
for each input, once triggered by editing, once triggered by value change.

Test: fast/forms/text-input-event.html

  • dom/InputElement.cpp: (WebCore::InputElement::setValueFromRenderer): Added a check to ensure editable fields

don't fire an extra input event.

BUG=64750
TBR=dglazkov@chromium.org
Review URL: http://codereview.chromium.org/5589004

Location:
branches/chromium/597
Files:
3 edited
2 copied

Note: See TracChangeset for help on using the changeset viewer.