code: function () {
                  if (this._dpi) {
                      return this._dpi;
                  }
  
                  var document = Aria.$window.document;
                  var domElement = document.createElement("div");
                  domElement.style.cssText = "height: 1in; left: -100%; position: absolute; top: -100%; width: 1in;";
                  document.body.appendChild(domElement);
                  var dpi = this._dpi = {
                      x : domElement.offsetWidth,
                      y : domElement.offsetHeight
                  };
                  document.body.removeChild(domElement);
                  return dpi;
              }
docs: Lazy-getter for the DPI information. Once detected, the value of DPI is stored in this._dpi. Note: this
  method writes to &lt;BODY&gt; so make sure not to call it too early (don't call it from a script in
  &lt;HEAD&gt;).
  @return {Object} {x : Number, y : Number}