AngleSharp by Florian Rappl

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

 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 IsToleratingInvalidConstraints { get; set; }

Gets or sets if invalid constraints should be ignored.

public bool IsToleratingInvalidValues { get; set; }

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