if ( display != null && display.equals( "block" ) ) {
if ( display != null && (display.equals( "block" ) || display.equals( "table-cell" )) ) {
    public static boolean isBlockNode( Node child, Context c ) {        if ( child instanceof Element ) {            Element el = (Element)child;            String display = c.css.getStringProperty( el, "display", false );            //u.p("display = " + display);            if ( display != null && display.equals( "block" ) ) {                if ( !isFloated( el, c ) ) {                    //u.p(child.getNodeName() + " is a block");                    return true;                } else {                    //u.p("isBlockNode() found a floated block");                }            }        }        return false;    }