On 5/22/10 1:30 PM, Faminor wrote:
Good day,

May I ask why is it so that a style simple as (e.g.):

.element {
   border:1px solid #E6E6E6;
}

explodes in the firebug css style tab into:

.element {
border-bottom-color:#E6E6E6;
border-bottom-style:solid;
border-bottom-width:1px;
border-left-color-ltr-source:physical;
border-left-color-rtl-source:physical;
border-left-color-value:#E6E6E6;
border-left-style-ltr-source:physical;
border-left-style-rtl-source:physical;
border-left-style-value:solid;
border-left-width-ltr-source:physical;
border-left-width-rtl-source:physical;
border-left-width-value:1px;
border-right-color-ltr-source:physical;
border-right-color-rtl-source:physical;
border-right-color-value:#E6E6E6;
border-right-style-ltr-source:physical;
border-right-style-rtl-source:physical;
border-right-style-value:solid;
border-right-width-ltr-source:physical;
border-right-width-rtl-source:physical;
border-right-width-value:1px;
border-top-color:#E6E6E6;
border-top-style:solid;
border-top-width:1px;
}

border is a shorthand property for some other properties, which are in turn shorthand properties for other properties. At the bottom, you get the above real properties (although I don't recognized the ones with value physical, but I'm certainly not a CSS expert). If Firebug didn't expand the shorthand properties, there'd be no way to modify the individual properties, and I think it's a useful indicator of what you're really doing with the border property.

Brian

--
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to