Skip to content Skip to sidebar Skip to footer

What Do The Firebug Dom Colors Mean?

I'm confused with these colors. I noticed there are 4 colors showing in the left hand column of FireBug DOM tree: Bold black Black Bold green Green In the right hand column: Blu

Solution 1:

Here is the correct answer.

Bold Black                   Objects
Black                        DOM objects
get in gray                  "Getter" functions
Bold green                   User functions
Green                        DOM functions
Bold Red                     Constructor functions

Check out the link for more information. Further info in the FAQ link.

Solution 2:

From http://getfirebug.com/dom.html

Objects are color coded so that HTML elements, numbers, strings, functions, arrays, objects, and nulls are all easy to distinguish.

But I can't be bothered to lookup which color represents what. With this info I bet you can make that out yourself

Solution 3:

After digging into it a little further I got the answer:

In the left column:

Black are properties and green are methods. Bold means the member was declared "by the user" meaning the members aren't from the default javascript/DOM framework.

In the right column:

Numbers are blue, strings are red. Objects appear as a "instance preview" in which the type name and the member names are green and the member values are gray

Post a Comment for "What Do The Firebug Dom Colors Mean?"