I stumbled upon some layout code that for transparent colors using != or == NS_RGBA(0,0,0,0):

http://dxr.mozilla.org/mozilla-central/search?q=regexp%3A%23[!%3D]%3D%20%3FNS_RGBA%23

Are those checks unnecessarily restrictive?

One of the checks has a comment saying "Use the strictest match for 'transparent' so we do correct round-tripping of all other rgba() values", but the strictness of the other checks is unclear. ;)


chris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to