SELECT element: Update menulist label when a user changes selection status
We missed to update textContent of a shadow node when SelectMultipleOptionsByPopup() is called. This issue affects only Android. * html_select_element.cc: Update a shadow node content in |HTMLSelectElement:: SelectMultipleOptionsByPopup()|. * html_select_element_test.cc: Add a test case. * test_blink_web_unit_test_support.cc: Fix a mock QueryLocalizedString() so that we can see different resultant strings depending on |value| argument. The new behavior is similar to the QueryLocalizedString() implementation in production. Bug: 1090247 Change-Id: I6d99e69dda6fc833eaa697daa304a8cd7a9d24ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2226581 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#774481}
Showing
Please register or sign in to comment