firebug / firebug

Web Development Evolved - The Firebug you have known and loved
http://getfirebug.com/
1.35k stars 343 forks source link

'transparent' color value is replaced by '#000000' #6791

Closed fbugissues closed 9 years ago

fbugissues commented 9 years ago

Originally reported on Google Code with ID 6672

Please read https://getfirebug.com/firstaid first.

To fix a bug we need

* http://jsbin.com/umapes/1 - enable Firebug

What is the expected result? What do you see instead?
Expect to see "background-color: transparent" in the applied styles for the <P> tag.
Instead, i see #000000. Although the page is rendered correctly, Firebug shows an incorrect
color. If the style is toggled OFF, then back ON, the <P> receives #000000 (black)
background color.

On top of that, if you edit the style to "transparent" again, as soon as the edit is
committed, the #000000 is replaced again.

Firebug version (number): 1.12.0b6 (noticed in prior versions, not sure how far back).

(Note: Bugs in earlier versions than the latest are unlikely to be fixed.)
Browser version: Firefox 24b1 (was occurring in v23 betas and final)
Operating system: Win7 x64

Reported by thookerov on 2013-08-12 16:49:36


fbugissues commented 9 years ago

Reported by simon.lindholm10 on 2013-08-12 19:00:30

fbugissues commented 9 years ago
Fixed in https://github.com/firebug/firebug/commit/e085a03b62504e4719571e3a3473368de0cf8472.

Thanks for the report!

Sebastian

Reported by sebastianzartner on 2013-08-13 08:18:12

fbugissues commented 9 years ago

Reported by sebastianzartner on 2013-08-13 08:22:54

fbugissues commented 9 years ago
This issue has been fixed in Firebug 1.12.0.
https://getfirebug.com/releases/firebug/1.12/firebug-1.12.0.xpi

Please try it and let us know if it works for you.

Thanks for the help!

Sebastian

Reported by sebastianzartner on 2013-08-22 12:39:02

fbugissues commented 9 years ago
i've tried the current version (actually 1.12.0b7) and the issue is "fixed" in that
"transparent" is replaced by rgba(0,0,0,0). From the standpoint of being a debugging
tool, this translation can be beneficial.

My only (minor) concern is looking through the applied styles, scanning for a keyword
i used (especially as cascades override each other in more complex structures), and
not seeing the actual word i coded, so needing to know how it'll translate as an applied
value. Again, a minor concern. Functionally, the bug is fixed. :)

Thanks!!

Reported by thookerov on 2013-08-22 13:15:51

fbugissues commented 9 years ago
> Functionally, the bug is fixed. :)
Thanks for verifying!

> not seeing the actual word i coded
That's covered in issue 5637. Hopefully we can get that for the next version.

Sebastian

Reported by sebastianzartner on 2013-08-22 17:44:43