ThemeMac.mm’s paintStepper() helper function has this comment from 2010: // We don't use NSStepperCell because there are no ways to draw an // NSStepperCell with the up button highlighted.
(In reply to Wenson Hsieh from comment #0) > ThemeMac.mm’s paintStepper() helper function has this comment from 2010: > > // We don't use NSStepperCell because there are no ways to draw an > // NSStepperCell with the up button highlighted. I wonder if we can just draw with the down button highlighted, but reflect it about the x-axis and translate by -height before drawing into the graphics context :|
https://searchfox.org/wubkat/rev/581e116dc6ce254811dbe2da9d1c1168762fc30c/Source/WebCore/platform/graphics/mac/controls/InnerSpinButtonMac.mm#63 We still have this comment above: "// We don't use NSStepperCell because there are no ways to draw an"