DiagnosticsTracedStyles object
An object that represents the style tracing information for a single element.
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 tracedStyle = DiagnosticsStyles.getTracedStyles(element);
DOM Information
Inheritance Hierarchy
The DiagnosticsTracedStyles does not inherit from any class or interface.
Members
The DiagnosticsTracedStyles object has these types of members:
- Methods
Methods
The DiagnosticsTracedStyles object has these methods.
Method | Description |
---|---|
getAppliedProperties | Returns a list of all CSS properties that have been applied to an element. |
getAppliedStyles | Returns a list of styles associated with an element which could have applied a given property. |
getInheritanceChain | Returns a list of elements from which this element could a given property. |
isInheritable | Returns whether a property can be inherited by this element. |