H A D | firebug-lite-1.4.js | 7406 function CSSElementPanel(){}CSSElementPanel.prototype=extend(Firebug.CSSStyleSheetPanel.prototype,{template:domplate({cascadedTag:DIV({"class":"a11yCSSView",role:"presentation"},DIV({role:"list","aria-label":$STR("aria.labels.style rules")},FOR("rule","$rules",TAG("$ruleTag",{rule:"$rule"}))),DIV({role:"list","aria-label":$STR("aria.labels.inherited style rules")},FOR("section","$inherited",H1({"class":"cssInheritHeader groupHeader focusRow",role:"listitem"},SPAN({"class":"cssInheritLabel"},"$inheritLabel"),TAG(FirebugReps.Element.shortTag,{object:"$section.element"})),DIV({role:"group"},FOR("rule","$section.rules",TAG("$ruleTag",{rule:"$rule"})))))),ruleTag:isIE?DIV({"class":"cssElementRuleContainer"},TAG(FirebugReps.SourceLink.tag,{object:"$rule.sourceLink"}),TAG(CSSStyleRuleTag.tag,{rule:"$rule"})):DIV({"class":"cssElementRuleContainer"},TAG(CSSStyleRuleTag.tag,{rule:"$rule"}),TAG(FirebugReps.SourceLink.tag,{object:"$rule.sourceLink"}))}),updateCascadeView:function(element){var rules=[],sections=[],usedProps={}; 7407 this.getInheritedRules(element,sections,usedProps); 7408 this.getElementRules(element,rules,usedProps); 7415 }},getInheritedRules:function(element,sections,usedProps){var parent=element.parentNode; argument 7416 if(parent&&parent.nodeType==1){this.getInheritedRules(parent,sections,usedProps); 7418 this.getElementRules(parent,rules,usedProps,true); 7420 }}},getElementRules:function(element,rules,usedProps,inheritMode){var inspectedRules,displayedRules={}; argument 7439 this.markOverridenProps(props,usedProps,inheritMode); 7441 }}if(element.style){this.getStyleProperties(element,rules,usedProps,inheritMode) 7443 }},markOverridenProps:function(props,usedProps,inheritMod argument 7455 AnonymousFunction4beb612329f00(element,rules,usedProps,inheritMode) global() argument [all...] |