Hi bsmither,

I still don't understand exactly what you want to do, but I suppose
the best way is to create a Firebug extension, like JJB said.

You could also create a Firebug Lite extension for that.

As far as I know, Firebug does not know about the specificity
because Firefox already returns the list of CSS rules in the
proper order.

Firebug Lite on the other hand, implements a manual CSS
specificity calculator, so I guess it would be easier to
implement a Firebug Lite extension for that.

Take a look at the getCSSRuleSpecificity() function:

http://code.google.com/p/fbug/source/browse/lite/branches/firebug1.3/content/firebug/css.js#454

regards,

Pedro Simonetti.


2010/9/8 bsmither <[email protected]>:
>> What is a "priority"?
>> What is a 'priority score'?
>
> Sorry, "priority" is my summary term to the result of calculating
> specificity - the score, grade, priority, whatever of which can be
> expressed as a comma separated series of numbers.
>
> See: http://css-tricks.com/specifics-on-css-specificity/ for some nice
> color-coding that may influence how this feature may get implemented.
>
> Thanks for the replies.
>
>
> --
> 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.
>
>

-- 
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