Docs · API reference · Motus.Abstractions

ComputedStyleInfo Class#

Pre-fetched computed style properties for an element, used by accessibility rules that need CSS information (e.g., color contrast checks).

public sealed record ComputedStyleInfo : System.IEquatable<Motus.Abstractions.ComputedStyleInfo>

Inheritance System.Object → ComputedStyleInfo

Implements System.IEquatable<ComputedStyleInfo>

Constructors#

ComputedStyleInfo(string, string, string, string) Constructor#

Pre-fetched computed style properties for an element, used by accessibility rules that need CSS information (e.g., color contrast checks).

public ComputedStyleInfo(string? Color, string? BackgroundColor, string? FontSize, string? FontWeight);

Parameters#

Color System.String

BackgroundColor System.String

FontSize System.String

FontWeight System.String