code: function afeclone(doc, i) {
      return {
        elt: createHTMLElt(doc, afe.list[i].localName, afe.attrs[i]),
        attrs: afe.attrs[i],
      };
    }
docs: Make a copy of element i on the list of active formatting elements, using its original attributes, not current attributes (which may have been modified by a script)