TextControl NG: Fix intrinsic minimum inline size
IsContentMinimumInlineSizeZero() was wrong. Text controls should return true only if LogicalWidth().IsPercentOrCalc(). This change fixes 9 failing tests with LayoutNGTextArea flag. This CL has no behavior changes. LayoutNGTextArea flag is disabled yet. Bug: 1040826 Change-Id: I9f22de17ba8ea674240516c481558e5570a0c956 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2461086Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#815109}
Showing
Please register or sign in to comment