Lines Matching refs:inheritMode
7153 },parseCSSProps:function(style,inheritMode){var props=[];
7156 this.addProperty(propName,style.getPropertyValue(propName),!!style.getPropertyPriority(propName),false,inheritMode,props)
7163 }if(m[2]){this.addProperty(m[1],m[2],!!m[3],false,inheritMode,props)
7165 },getRuleProperties:function(context,rule,inheritMode){var props=this.parseCSSProps(rule.style,inheritMode);
7168 this.addOldProperties(context,ruleId,inheritMode,props);
7171 },addOldProperties:function(context,ruleId,inheritMode,props){if(context.selectorMap&&context.selectorMap.hasOwnProperty(ruleId)){var moreProps=context.selectorMap[ruleId];
7175 this.addProperty(prop.name,prop.value,prop.important,true,inheritMode,props)
7176 }}},addProperty:function(name,value,important,disabled,inheritMode,props){name=name.toLowerCase();
7177 if(inheritMode&&!inheritedStyleNames[name]){return
7420 }}},getElementRules:function(element,rules,usedProps,inheritMode){var inspectedRules,displayedRules={};
7434 }var props=this.getRuleProperties(this.context,rule,inheritMode);
7435 if(inheritMode&&!props.length){continue
7439 this.markOverridenProps(props,usedProps,inheritMode);
7440 rules.splice(0,0,{rule:rule,id:ruleId,selector:ruleData.selector,sourceLink:sourceLink,props:props,inherited:inheritMode,isSystemSheet:isSystemSheet})
7441 }}if(element.style){this.getStyleProperties(element,rules,usedProps,inheritMode)
7443 }},markOverridenProps:function(props,usedProps,inheritMode){for(var i=0;
7453 }prop.wasInherited=inheritMode?true:false;
7455 }},getStyleProperties:function(element,rules,usedProps,inheritMode){var props=this.parseCSSProps(element.style,inheritMode);
7456 this.addOldProperties(this.context,getElementXPath(element),inheritMode,props);
7458 this.markOverridenProps(props,usedProps,inheritMode);
7459 if(props.length){rules.splice(0,0,{rule:element,id:getElementXPath(element),selector:"element.style",props:props,inherited:inheritMode})