LayoutTextControlSingleLine assumes spinner computed width is fixed |
|
Issue description
LayoutTextControlSingleLine::PreferredContentLogicalWidth() adds the computed logical width of the spinner as a Fixed length without checking. It's possible to have e.g. a percentage width for the spinner:
<!DOCTYPE html>
<style>
input::-webkit-inner-spin-button {
width: 50%;
-webkit-appearance: none;
}
</style>
<input type="number" min="1" max="1000">
|
|
►
Sign in to add a comment |
|
Comment 1 by e...@chromium.org
, Oct 21