Scale native themed <input type=number> spin buttons when the page is zoomed (or for HiDPI)
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox41 | --- | affected |
People
(Reporter: alice0775, Unassigned)
References
(Depends on 1 open bug, )
Details
Attachments
(3 files)
Comment 1•9 years ago
|
||
Comment 4•6 years ago
|
||
So I took this because I was thinking the problem was that GetMinimumWidgetSize
implementations were returning values in device pixels when the number they had was meant to be in CSS pixels. And fixing that does appear to fix the problem -- but on second thought I don't think it's right. I think the real problem here is likely that we're relying on GetMinimumWidgetSize
and making these spin buttons as small as they can possibly be drawn, when we should really give them a reasonable default size. Although I'm really not sure what's right here.
This at least fixes the buttons to scale reasonably; we still have problems with native drawing of the arrows perhaps not doing the right thing. That said, when we use native drawing of the arrows, it's not clear that platforms are going to render varying sizes very well either...
FWIW, I had some work in progress back when I diagnosed this that I decided to abandon.
Updated•2 years ago
|
Description
•