MenuList SELECT: Update text in the shadow element
When UpdateFromElement() is called, textContent of the shadow element should be updated as well as the text in the anonymous block. Exceptions: * In DidStyleRecalc() and AttachLayoutTree(), we must not update DOM at all. * Instead, we should update the textContent - when the UA shadow tree is created, or - even if the SELECT has no LayoutObject This CL has no user-visible behavior changes because the shadow element has display:none. Bug: 1040828 Change-Id: I55f0bfd0399ca50a8aa99c64a8fdf89ef5c42e68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032656Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#737652}
Showing
Please register or sign in to comment