/// <summary>
        /// Determines if the given value represents a valid state of this property.
        /// </summary>
        /// <param name="value">The state that should be used.</param>
        /// <returns>True if the state is valid, otherwise false.</returns>
        protected override Boolean IsValid(CSSValue value)
        {
            var num = value.ToSingle();

            if (num.HasValue)
            {
                _value = num.Value;
                return(true);
            }

            return(false);
        }
        /// <summary>
        /// Determines if the given value represents a valid state of this property.
        /// </summary>
        /// <param name="value">The state that should be used.</param>
        /// <returns>True if the state is valid, otherwise false.</returns>
        protected override Boolean IsValid(CSSValue value)
        {
            var aspectValue = value.ToSingle();

            if (aspectValue.HasValue)
            {
                _aspectValue = aspectValue;
            }
            else if (value.Is(Keywords.None))
            {
                _aspectValue = null;
            }
            else
            {
                return(false);
            }

            return(true);
        }