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)
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.