Bug 1879415 Comment 6 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Note that we do have other partially-transparent background-colors variables -- here's a searchfox link to find some of them:
https://searchfox.org/mozilla-central/search?q=--.*background-color.*rgba&path=&case=true&regexp=true

Greg, see above -- the translations UI seems to be using a background color as if it were a foreground color, which is troublesome now that the background-color in question is almost entirely transparent.  Perhaps we can change things such that we aren't using that?  (Alternately, if this background/foreground swapping is common, maybe there's another guaranteed-not-to-be-transparent background color we should be using as our foreground color here?)
Note that we do have other partially-transparent background-colors variables, so assumption (A) doesn't seem entirely out of place. Here's a searchfox link to find some of them:
https://searchfox.org/mozilla-central/search?q=--.*background-color.*rgba&path=&case=true&regexp=true

Greg, see above -- the translations UI seems to be using a background color as if it were a foreground color, which is troublesome now that the background-color in question is almost entirely transparent.  Perhaps we can change things such that we aren't using that?  (Alternately, if this background/foreground swapping is common, maybe there's another guaranteed-not-to-be-transparent background color we should be using as our foreground color here?)
Note that we do have other partially-transparent background-colors variables, so assumption (A) doesn't seem entirely out of place. Here's a searchfox link to find some of them:
https://searchfox.org/mozilla-central/search?q=--.*background-color.*rgba&path=&case=true&regexp=true

So, focusing on assumption (B)...  Greg, see above -- the translations UI seems to be using a background color as if it were a foreground color, which is troublesome now that the background-color in question is almost entirely transparent.  Perhaps we can change things such that we aren't using that?  (Alternately, if this background/foreground swapping is common, maybe there's another guaranteed-not-to-be-transparent background color we should be using as our foreground color here?)
Note that we do have other partially-transparent background-colors variables, so assumption (A) doesn't seem entirely out of place. Here's a searchfox link to find some of them:
https://searchfox.org/mozilla-central/search?q=--.*background-color.*rgba&path=&case=true&regexp=true

So, focusing on assumption (B)...  Greg, see above -- the translations UI seems to be using a background color as if it were a foreground color, which is troublesome now that the background-color in question is almost entirely transparent.  Perhaps we can change things such that we aren't using that approach?  (Alternately, if this background/foreground swapping is common & expected-to-work, maybe there's another guaranteed-not-to-be-transparent background color we should be using as our foreground color here?)

Back to Bug 1879415 Comment 6