docs: function (text, prefix) {
              // Here i work on the assumption that all the bad inputs are removed
              var parts = text.split("}"), length = parts.length;
  
              // There should be at least two pieces to be a CSS selector
              if (length < 2) {
                  return {
                      text : text,
                      selectors : 0
                  };
              }
  
              var trim = ariaUtilsString.trim;
              var MEDIA_RULE = this.MEDIA_RULE;
  
              /* Splitting on } means that each line is a CSS rule */
              var decomposed, selectors, prefixed, number = 0;
              for (var i = 0; i < length; i += 1) {
                  decomposed = parts[i].split("{");
                  selectors = trim(decomposed[0]);
  
                  if (!selectors) {
                      continue;
                  }
  
                  var isMediaRule = MEDIA_RULE.test(selectors);
                  if (isMediaRule) {
                      decomposed[0] = selectors; // after the trim
                      // media rules must not be prefixed, but rules inside them must be
                      selectors = trim(decomposed[1]);
                      if (!selectors) {
                          continue;
                      }
                  }
  
                  selectors = selectors.split(",");
  
                  prefixed = [];
  
                  for (var j = 0, k = selectors.length; j < k; j += 1) {
                      prefixed.push(prefix + trim(selectors[j]));
                      number += 1;
                  }
  
                  if (isMediaRule) {
                      prefixed[0] = '\n' + prefixed[0];
                      decomposed[1] = prefixed.join(", ");
                  } else {
                      decomposed[0] = prefixed.join(", ");
                  }
  
                  parts[i] = decomposed.join(" {");
              }
  
              return {
                  text : parts.join("}\n"),
                  selectors : number
              };
          }