java.lang.Object
org.openqa.selenium.devtools.v145.css.model.CSSAtRule

public class CSSAtRule extends Object
CSS generic @rule representation.
  • Constructor Details

  • Method Details

    • getType

      public CSSAtRule.Type getType()
      Type of at-rule.
    • getSubsection

      public Optional<CSSAtRule.Subsection> getSubsection()
      Subsection of font-feature-values, if this is a subsection.
    • getName

      public Optional<Value> getName()
      LINT.ThenChange(//third_party/blink/renderer/core/inspector/inspector_style_sheet.cc:FontVariantAlternatesFeatureType,//third_party/blink/renderer/core/inspector/inspector_css_agent.cc:FontVariantAlternatesFeatureType) Associated name, if applicable.
    • getStyleSheetId

      public Optional<StyleSheetId> getStyleSheetId()
      The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
    • getOrigin

      public StyleSheetOrigin getOrigin()
      Parent stylesheet's origin.
    • getStyle

      public CSSStyle getStyle()
      Associated style declaration.