Support for "outline-color: invert" was removed in Firefox 3, and a bug to restore support was RESOLVED WONTFIX several years ago because it was deemed infeasible while using hardware acceleration [1].

Since then, some developers have asked for reconsideration on the bug; since some of their questions in the bug remain unanswered, one developer asked me to bring it up here.

The specific question is whether the many changes to our graphics acceleration since 2009 have made it any more feasible to implement "invert" today. Do IE or Opera use any tricks to do this that could be useful for us too?

In addition to the obvious use case of making outlines visible against multiple background colors, apparently this can be used for hacks [2] to invert entire regions, similar to David Baron's SVG filter demo [3] but possibly more flexible.

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=359497#c24
[2]: http://lea.verou.me/2011/04/invert-a-whole-webpage-with-css-only/
[3]: http://dbaron.org/log/20110430-invert-colors
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to