For ease of maintainability, attributes and methods declaration order should be as same as specification. See http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html Similar work was done for input element: https://bugs.webkit.org/show_bug.cgi?id=79622
Created attachment 129805 [details] Patch 1
Comment on attachment 129805 [details] Patch 1 r=me
Comment on attachment 129805 [details] Patch 1 Clearing flags on attachment: 129805 Committed r109550: <http://trac.webkit.org/changeset/109550>
All reviewed patches have been landed. Closing bug.