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)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
Attachments
(1 file)
13.10 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
We need to add support for native theming of <input type=range> on Linux.
Assignee | ||
Comment 1•12 years ago
|
||
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+
Assignee | ||
Comment 3•12 years ago
|
||
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!
Comment 4•12 years ago
|
||
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.
Description
•