Class CSSAtRule
CSS generic @rule representation.
public sealed class CSSAtRule
- Inheritance
-
CSSAtRule
- Inherited Members
Properties
Name
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.
[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Value? Name { get; set; }
Property Value
Origin
Parent stylesheet's origin.
[JsonPropertyName("origin")]
public StyleSheetOrigin Origin { get; set; }
Property Value
Style
Associated style declaration.
[JsonPropertyName("style")]
public CSSStyle Style { get; set; }
Property Value
StyleSheetId
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
[JsonPropertyName("styleSheetId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? StyleSheetId { get; set; }
Property Value
Subsection
Subsection of font-feature-values, if this is a subsection.
[JsonPropertyName("subsection")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSAtRuleSubsectionValues? Subsection { get; set; }
Property Value
Type
Type of at-rule.
[JsonPropertyName("type")]
public CSSAtRuleTypeValues Type { get; set; }