Class CSSProperty
java.lang.Object
org.openqa.selenium.devtools.v120.css.model.CSSProperty
CSS property declaration data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhether the property is disabled by the user (present for source-based properties only).Whether the property is implicit (implies `false` if absent).Whether the property has "!important" annotation (implies `false` if absent).Parsed longhand components of this property if it is a shorthand.getName()
The property name.Whether the property is understood by the browser (implies `true` if absent).getRange()
The entire property range in the enclosing style declaration (if available).getText()
The full property text as specified in the style.getValue()
The property value.
-
Constructor Details
-
CSSProperty
-
-
Method Details
-
getName
The property name. -
getValue
The property value. -
getImportant
Whether the property has "!important" annotation (implies `false` if absent). -
getImplicit
Whether the property is implicit (implies `false` if absent). -
getText
The full property text as specified in the style. -
getParsedOk
Whether the property is understood by the browser (implies `true` if absent). -
getDisabled
Whether the property is disabled by the user (present for source-based properties only). -
getRange
The entire property range in the enclosing style declaration (if available). -
getLonghandProperties
Parsed longhand components of this property if it is a shorthand. This field will be empty if the given property is not a shorthand.
-