AngleSharp by Florian Rappl

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

.NET API 1,229,312 bytes

 CssMaxWidthProperty

Information can be found on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/max-width Gets the specified max-width of the element. A percentage is calculated with respect to the width of the containing block.
using AngleSharp.Css; using AngleSharp.Extensions; namespace AngleSharp.Dom.Css { internal sealed class CssMaxWidthProperty : CssProperty { internal CssMaxWidthProperty(CssStyleDeclaration rule) : base(PropertyNames.MaxWidth, rule, PropertyFlags.Animatable) { } protected override object GetDefault(IElement element) { return null; } protected override object Compute(IElement element) { return Converters.OptionalLengthOrPercentConverter.Convert(base.Value); } protected override bool IsValid(CssValue value) { return Converters.OptionalLengthOrPercentConverter.Validate(value); } } }