CssBorderBottomLeftRadiusProperty
Information can be found on MDN:
https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
using AngleSharp.Css;
using AngleSharp.Extensions;
namespace AngleSharp.Dom.Css
{
internal sealed class CssBorderBottomLeftRadiusProperty : CssProperty
{
internal CssBorderBottomLeftRadiusProperty(CssStyleDeclaration rule)
: base(PropertyNames.BorderBottomLeftRadius, rule, PropertyFlags.Animatable)
{
}
protected override object GetDefault(IElement element)
{
return Length.Zero;
}
protected override object Compute(IElement element)
{
return Converters.BorderRadiusConverter.Convert(base.Value);
}
protected override bool IsValid(ICssValue value)
{
return Converters.BorderRadiusConverter.Validate(value);
}
}
}