Re:X-editable: In-place editing with Twitter Bootstrap, jQue...
by masklinn on Sunday November 25, 2012 @03:30PM
(#4829187)
I'm not sure about this hypothesis, when making a field editable requires inserting a bunch of dom nodes and trying to position your brand new input at the right place, it should be way more repaint that the NOOP of adding an attribute to the element.
I think this is because of performance. form elements are rendered differently and actions mostly result in a limited repaint and a couple events fired. contenteditable DOM elements are a lot more work to update.