CssMaxHeightProperty
Information can be found on MDN:
https://developer.mozilla.org/en-US/docs/Web/CSS/max-height
Gets the specified max-height of the element. A percentage is
calculated with respect to the height of the containing block. If
the height of the containing block is not specified explicitly, the
percentage value is treated as none.
using AngleSharp.Css;
using AngleSharp.Extensions;
namespace AngleSharp.Dom.Css
{
internal sealed class CssMaxHeightProperty : CssProperty
{
private static readonly IValueConverter StyleConverter = Converters.OptionalLengthOrPercentConverter.OrDefault();
internal override IValueConverter Converter => StyleConverter;
internal CssMaxHeightProperty()
: base(PropertyNames.MaxHeight, PropertyFlags.Animatable)
{
}
}
}