if (!block.isElement()) {
if (!(block.getContent() instanceof BlockContent)) {
    private void adjustHeight(Context c, Box block) {        if (!block.isElement()) {            return;        }        Element elem = block.getElement();        if (c.css.getStyle(elem).hasProperty("height")) {            //float new_height = c.css.getFloatProperty(elem, "height", c.getExtents().height);            float new_height = c.css.getStyle(elem).getFloatPropertyRelative("height", c.getExtents().height);            c.getExtents().height = (int) new_height;            block.height = (int) new_height;            block.auto_height = false;            u.p("set height to: " + block.height);        }    }