New issue
Advanced search Search tips

Issue 896495 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

LayoutTextControlSingleLine assumes spinner computed width is fixed

Project Member Reported by futhark@chromium.org, Oct 17

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">

 
Status: Available (was: Untriaged)

Sign in to add a comment