AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.9.2" />

 CssParserOptions

public struct CssParserOptions
Contains a number of options for the CSS parser.
public bool IsIncludingUnknownDeclarations { get; set; }

Gets or sets if unknown declarations are dropped.

public bool IsIncludingUnknownRules { get; set; }

Gets or sets if unknown (@-) rules are dropped.

public bool IsStoringTrivia { get; set; }

Gets or sets if CSS trivia (whitespace, tabs, comments, ...) should be stored.

public bool IsToleratingInvalidConstraints { get; set; }

Gets or sets if invalid constraints should be ignored.

public bool IsToleratingInvalidSelectors { get; set; }

Gets or sets if style rules with invalid selectors should included.

public bool IsToleratingInvalidValues { get; set; }

Gets or sets if invalid values for declarations should be ignored.