code: private void fixInlineElement(Element e) {
      if (e.getClientHeight() == 0 && e.getClientWidth() == 0
          && "inline".equals(curCSS(e, "display", true))) {
        setStyleProperty(e, "display", "inline-block");
        setStyleProperty(e, "width", "auto");
        setStyleProperty(e, "height", "auto");
      }
    }
docs: inline elements do not have width nor height unless we set it to inline-block