Example #1
0
        /// <summary>
        /// Whether to accept the html element
        /// </summary>
        /// <param name="htmlElement">The html element</param>
        /// <returns>true, if the element matches, otherwise false</returns>
        protected override bool AcceptNode(HtmlElement htmlElement)
        {
            string displayValue = htmlElement.GetStyle(Css.Properties.DISPLAY);

            return(CssHelper.IsInlineDisplayValue(displayValue));
        }