DiagnosticsStyleProperty object

An object that represents a single CSS property for diagnostics.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

DOM Information

Inheritance Hierarchy

The DiagnosticsStyleProperty does not inherit from any class or interface.

Members

The DiagnosticsStyleProperty object has these types of members:

  • Properties

Properties

The DiagnosticsStyleProperty object has these properties.

Property Access type Description

activeInBlock

Read-only

Returns whether a single property in the case of multiple values is active (hasn't been overwritten, overridden by a !important value, or disabled) or not.

enabled

Read/write

Gets or sets whether a property has been enabled or disabled by the tools.

important

Read/write

Sets or gets whether or not the property is !important.

longhands

Read-only

For shorthand properties, this provides a list of child properties.

propertyName

Read-only

Returns the name of the property.

status

Read-only

Returns whether the property is valid, invalid, or unrecognized.

value

Read/write

The value of the property.