Closed Bug 1698821 Opened 4 years ago Closed 4 years ago

Arrows are not visible in input type "number" in the print dialog

Categories

(Core :: Layout: Form Controls, defect)

defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- unaffected
firefox88 --- fixed

People

(Reporter: mbalfanz, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

When testing the print dialog in the latest Nightly, I discovered that the arrows on input fields of the type "number" are no longer visible. Please see screenshot attached.

This seems to be a regression: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=faaf9152446865a143d77e934ba2a70f21de37f5&tochange=44eddd702c0af628c34187a9f99b85b941e843eb

STR:

  • open the print dialog on any page
  • check the number input field, e.g. for page scaling

ER: there should be arrows

AR: there are no arrows

Flags: needinfo?(emilio)
Regressed by: 1698043
Has Regression Range: --- → yes

The root cause of this bug is that we're now accidentally using the
native theme for the spinners because GetNumberControlFrameForSpinButton
broke with my changes.

These pseudos are not exposed to content, and there's just one user of
this pseudo-class (the print.css one).

So just disable native appearance explicitly and remove that check.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

It broke with bug 1698043 because we removed one wrapper.

Depends on D108653

There's no anonymous textfield since a long time ago.

Depends on D108654

Flags: needinfo?(emilio)
Summary: Arrows are not visible in input type "number" → Arrows are not visible in input type "number" in the print dialog
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79889167c88e Simplify native-appearance-disabling for number spinners. r=dholbert https://hg.mozilla.org/integration/autoland/rev/c89f4fbacc3a Fix GetNumberControlFrameForSpinButton. r=dholbert https://hg.mozilla.org/integration/autoland/rev/349d5ef73d06 Remove dead GetNumberControlFrameForTextField. r=dholbert

Set release status flags based on info from the regressing bug 1698043

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: