Closed Bug 855301 Opened 12 years ago Closed 12 years ago

Add support for native theming of <input type=range> on Linux

Categories

(Core :: Widget: Gtk, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file)

We need to add support for native theming of <input type=range> on Linux.
Blocks: 841950
Attached patch patchSplinter Review
As far as I can tell there isn't any good reason to be painting the background color for <xul:scale>, and we definitely don't want it for <html:input type=range>. Maybe we're painting the background of the widget so we can flag it as being opaque for perf, but I can't imagine that <xul:scale> is a perf issue for us.
Attachment #730838 - Flags: review?(roc)
Comment on attachment 730838 [details] [diff] [review] patch Review of attachment 730838 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/forms/nsRangeFrame.cpp @@ +189,4 @@ > if (ShouldUseNativeStyle()) { > return NS_OK; // No need to reflow since we're not using these frames > } > +#endif I don't think it's worth creating a different code path here just for a tiny optimization on MacOSX.
Attachment #730838 - Flags: review?(roc) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/2760f4cfce74 (In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #2) > I don't think it's worth creating a different code path here just for a tiny > optimization on MacOSX. Yeah, I was kind of thinking the same. Dropped it. Thanks for the review!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: