"Outline-color: invert" and Why Browsers Sometimes Don't Fix Bugs

At some point in my CSS research, I came across a bug report about the fact that Firefox doesn’t support the invert keyword for the outline-color property. One user said the following in the thread:

“Let me point out that ‘outline-color:invert’ is part of the CSS 2, CSS 2.1 and CSS 3 specs, so it’s not just a matter of taste. If you want a conformant user agent, you have to implement inversion. Period.”

I can certainly see where this person is coming from. But I’ve learned that things aren’t so simple in vendor/implementor land. In fact, one of the responses is from Vladimir Vukicevic, a Mozilla engineer, and he explains:

“It’s all only software; so sure, you could always write code that could do invert. Now, is it worth taking the tradeoffs that would allow us to support invert, that is losing access to hardware acceleration and other advantages? The answer to that is no.”

Vladimir gives a few more details on the problem and then gives his vote for WONTFIX (which is where the bug stands today). In fact, as pointed out later in the thread, the spec now includes a note that support in browsers is optional.

So next time you think one of the big browsers should ‘get their act together and support feature x’, remember that sometimes there’s a lot of stuff going on behind the scenes that holds back this kind of thing from moving forward as quickly as we would like.

This editorial appears in this week’s issue of the SitePoint Front-end Newsletter.

5 Likes

It comes down to respect. In general, people aren’t as stupid as we like to think. If there is an’obvious’ solution and it’s not being implemented, you can be sure there is a barrier to implementation of which you are not aware.

The failure is that both sides forget that the other doesn’t have all of the relevant information, and treat each other like idiots. It’s a lot easier than talking.

Thank you @louislazaris for reminding us that there might be a different perspective to look things from, other than our wants and needs!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.