getInheritanceChain method
Returns a list of elements from which this element could a given property.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
Syntax
var retVal = DiagnosticsTracedStyles.getInheritanceChain(sFilter);
Parameters
sFilter [in, optional]
Type: DOMStringProperty to query.
Return value
Type: any
Array of elements.
Remarks
Returns the list in reverse application order so the first element [0] is the element containing the property specified as an sFilter parameter. If called with no arguments, this method returns a list of elements from which the element inherit any property.