convertAttrs = (element) => {
  const elName = element.tagName
  const unit = elementContainer_.getBaseUnit()
  const attrs = attrsToConvert[elName]
  if (!attrs) { return }

  attrs.forEach((attr) => {
    const cur = element.getAttribute(attr)
    if (cur && !isNaN(cur)) {
      element.setAttribute(attr, (cur / typeMap_[unit]) + unit)
    }
  })
}
Converts all applicable attributes to the configured baseUnit.
@function module:units.convertAttrs
@param {Element} element - A DOM element whose attributes should be converted
@returns {void}