optimize moz-border-colors for mobile

RESOLVED INVALID

Status

()

RESOLVED INVALID
10 years ago
9 months ago

People

(Reporter: madhava, Unassigned)

Tracking

({perf})

unspecified
Points:
---
Bug Flags:
wanted-fennec1.0 +

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
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)
(Reporter)

Updated

10 years ago
tracking-fennec: --- → ?
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.

Updated

10 years ago
Flags: wanted-fennec1.0+
tracking-fennec: ? → ---
Depends on: 547591
Keywords: perf
-moz-border-colors was removed in bug 1429723.
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.