docs: function () {
              var cfg = this._cfg, ww = cfg.width, // widget width
              isTopLabel = (cfg.labelPos === "top" || cfg.labelPos === "bottom"), showLabel = (!cfg.hideLabel && !!cfg.label), lw;
  
              if (ww > -1) {
                  // check that ww is not too small
                  if (ww < this._minInputMarkupWidth) {
                      ww = this._minInputMarkupWidth;
                  }
                  lw = cfg.labelWidth;
                  if (showLabel && lw > -1) {
                      if (isTopLabel) {
                          if (lw < ww) {
                              lw = ww; // label should take the whole width
                          } else if (lw > ww) {
                              ww = lw; // take the bigger width
                          }
                          this._inputMarkupWidth = ww;
                      } else {
                          // labelPos=="left" or "right"
  
                          // make sure lw+_minInputMarkupWidth<=ww
                          if (lw + this._minInputMarkupWidth > ww) {
                              // log error?
                              ww = lw + this._minInputMarkupWidth;
                              this._inputMarkupWidth = this._minInputMarkupWidth;
                          } else {
                              // this._inputMarkupWidth=ww-lw
                              this._inputMarkupWidth = ww - lw;
                          }
                      }
                      cfg.labelWidth = lw;
                  } else {
                      // no label - inputMarkup takes the whole space
                      this._inputMarkupWidth = ww;
                  }
  
                  cfg.width = ww;
              }
  
              // set the default input markup width if no other constraint apply
              if (this._inputMarkupWidth < 0) {
                  this._inputMarkupWidth = this._defaultInputMarkupWidth;
              }
              if (showLabel && !isTopLabel) {
                  this._inputMarkupWidth -= this._labelPadding;
              }
  
              if (cfg.directOnBlurValidation == null) {
                  // the default value for directOnBlurValidation comes from the
                  // environment
                  cfg.directOnBlurValidation = ariaWidgetsEnvironmentWidgetSettings.getWidgetSettings().directOnBlurValidation;
              }
  
              if (cfg.height > -1) {
                  this._inputMarkupHeight = cfg.height;
  
                  if (showLabel && isTopLabel) {
                      this._inputMarkupHeight -= cfg.labelHeight;
                  }
              }
              // call back parent consistency check
              this.$Widget._checkCfgConsistency.call(this);
          }