Closed Bug 490055 Opened 16 years ago Closed 7 years ago

optimize moz-border-colors for mobile

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: madhava, Unassigned)

References

Details

(Keywords: perf)

We'd like to use moz-border-colors for buttons and other widgets, along these lines: http://www.seanmartell.com/mozilla/fennec/ but it's slow. Faster! (thanks)
tracking-fennec: --- → ?
Do you have a testcase that's slow that somebody could profile?
Yeah, I asked madhava/sean to file this as a reminder; it's slow purely from a border rendering perspective, mainly because border-colors ends up being lots of little lines with lots of 1x1 alpha blending happening in the corners. If the colors are different on each side (as they are here), it goes down the absolute slowest border rendering path, mainly because I didn't think it would ever be performance critical. I think we can do a lot better there though to optimize this.
Flags: wanted-fennec1.0+
tracking-fennec: ? → ---
Depends on: 547591
Keywords: perf
-moz-border-colors was removed in bug 1429723.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.