TextControl NG: Implement block centering
This CL ports LayoutTextControlSingleLine::UpdateLayout() to LayoutNG by * Adding "-internal-align-self-block" CSS property * Implementing centering behavior in NGBlockLayoutAlgorithm * Apply the property to text field's InnerEditor boxes and decoration container boxes "-internal-align-self-block" will be applied to button's anonymous block and slider's track box too. This CL has no behavior changes for now, but it fixes dozens of web test failures with LayoutNGTextFields flag. Bug: 1040826, 1131352 Change-Id: Iaa75fdd53ce428c90b12fd695f49752da0ea9247 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2491766Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Rune Lillesveen <futhark@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#821061}
Showing
Please register or sign in to comment