input[type=file]: display:inline-flex/flex/inline-grid/grid should not affect the internal layout
In LayoutNG, we use LayoutNGBlockFlow for input[type=file]. If flex/grid is specified, NGBlockLayoutAlgorithm is applied but children are blockified. So the internal [Choose File] button and "No file chosen" text were placed on different lines. This CL fixes it by adding "display" adjustment code. Bug: 1119312 Change-Id: Id15bfa5a047f56ee00adb43d74e6b3d09f1f6433 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2371066Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#801209}
Showing
Please register or sign in to comment