TextControl NG: Fix '::selection' invalidation
* Share the logic of LayoutTextControl::StyleDidChange() by making it a static member function. * Make LayoutTextControlTest a parameterized test for LayoutNGTextArea flag and LayoutNGTextField flag. This CL has no behavior changes yet. Bug: 1040826 Change-Id: I290bf46c86219052eaf9133d3382ff769e56a47e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2484039 Commit-Queue: Kent Tamura <tkent@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#818403}
Showing
Please register or sign in to comment