public SafeHtml getSafeHtml(SafeUri url, int left, int top, int width, int height) {
    String style =
        "width: "
            + width
            + "px; height: "
            + height
            + "px; background: url("
            + url.asString()
            + ") "
            + "no-repeat "
            + (-left + "px ")
            + (-top + "px;")
            + "background-size: "
            + width
            + "px "
            + height
            + "px;";

    return getTemplate().image(clearImage, SafeStylesUtils.fromTrustedString(style));
  }
 /**
  * A URI designating the initial frame contents.
  *
  * @see <a
  *     href="http://www.w3.org/TR/1999/REC-html401-19991224/present/frames.html#adef-src-FRAME">W3C
  *     HTML Specification</a>
  */
 public final void setSrc(SafeUri src) {
   setSrc(src.asString());
 }
 /**
  * URI designating a long description of this image or frame.
  *
  * @see <a
  *     href="http://www.w3.org/TR/1999/REC-html401-19991224/present/frames.html#adef-longdesc-FRAME">W3C
  *     HTML Specification</a>
  */
 public final void setLongDesc(SafeUri longDesc) {
   setLongDesc(longDesc.asString());
 }