title: jQuery: prop vs attr... clarification
body: <p><em>Note, this is not a duplicate of <a href="https://stackoverflow.com/questions/5874652/prop-vs-attr">.prop() vs .attr()</a>; that question refers to the basic functionality of prop vs attr, while this question is specific to their differences as setters.</em></p>
  <p>In trying to narrow down what should be set using .prop(), vs what should be set via .attr() when creating a new element, in tests with jQuery 1.7.2, I find that prop is approx 2.5 times faster, so it seems preferable.</p>
  <p>The only list of things to be set using attr that I could find gives these for attr:</p>
  <blockquote>
  <p>accesskey, align, background, bgcolor, class, contenteditable, contextmenu, data-XXXX, draggable, height, hidden, id, item, itemprop, spellcheck, style, subject, tabindex, title, valign, width</p>
  </blockquote>
  <ol>
  <li><p>is this complete (ie, anything not in that list - such as min, max, step, etc - should use prop)?</p>
  </li>
  <li><p>in testing, some of those seem to work fine when set using prop. Testing the above list, I've had no issues setting the following with prop:</p>
  <blockquote>
  <p>id, class, align, contenteditable, draggable, hidden, spellcheck, tabindex, title</p>
  </blockquote>
  </li>
  <li><p>Is there some reason, for that list of &quot;stuff to set with attr that still work when set with prop&quot;, why it should still be set with attr?  If not, then 250% faster performance when creating a basic <code>&lt;div id=&quot;foo&quot; class=&quot;bar&quot; draggable=&quot;true&quot; title=&quot;zipzap&quot;&gt;</code> seems good to me... :)</p>
  </li>
  </ol>