AngleSharp by Florian Rappl

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

 CssParserExtensions

static class CssParserExtensions
Extensions to be used exclusively by the parser or the tokenizer.
public static int GetCode(this CssParseError code)

Retrieves a number describing the error of a given error code.

public static CssMedium GetMedium(this IEnumerator<CssToken> tokens)

public static string InKeyframesName(this IEnumerator<CssToken> tokens)

Before the name of an @keyframes rule has been detected.

Called in the text for a frame in the @keyframes rule.

public static void JumpToClosedArguments(this IEnumerator<CssToken> tokens)

public static void JumpToEndOfDeclaration(this IEnumerator<CssToken> tokens)

public static void JumpToNextSemicolon(this IEnumerator<CssToken> tokens)

public static void SkipUnknownRule(this IEnumerator<CssToken> tokens)

State that is called once in the head of an unknown @ rule.

public static ICssValue ToUnit(this CssUnitToken token)

Converts the given unit to a value. Uses number for 0.