属性リスト

attributes 属性 (DOM)

属性の順序

[7] HTML文書中の属性の順序は、 FirefoxIE7 は逆ソース順、 Chrome はソース順となっています。

[6] >>5 DOM4 では属性の順序が追加順と規定されている。

[13] object 要素applet 要素プラグインに渡す順序はソース順となっています >>3, >>14

デモ

[1] attributes 内の属性節点の順序

メモ

[8] Bug 17176 – Element attributes should not be required to be stored in an ordered list, .innerHTML remains unspecified ( ( 版)) <https://www.w3.org/Bugs/Public/show_bug.cgi?id=17176>

[9] Bug 17871 – Element attributes should not be required to be stored in an ordered list ( ( 版)) <https://www.w3.org/Bugs/Public/show_bug.cgi?id=17871>

[10] XBL 2.0 ( ( 版)) <http://dev.w3.org/2006/xbl2/Overview.html#the-attributes-attribute>

[11] XBL 2.0 ( ( 版)) <http://dev.w3.org/2006/xbl2/Overview.html#attribute-forwarding>

[12] Bug 21986 – Element.attributes needs to have a named getter ( ( 版)) <https://www.w3.org/Bugs/Public/show_bug.cgi?id=21986>

[15] 13913 – Attributes don't have an order ( 版) <https://www.w3.org/Bugs/Public/show_bug.cgi?id=13913>

[16] Editorial: define attribute list in terms of Infra's list (annevk著, ) <https://github.com/whatwg/dom/commit/f88c7a087268f5a9cf55b92c40754107e696d705>

[17] Remove <applet> (zcorpan著, ) <https://github.com/whatwg/html/commit/b9b9d60f9451c05f8e8d542e4094f987ae1a5fb8>

[18] Make attribute order not matter for <progress> (annevk著, ) <https://github.com/whatwg/html/commit/6bf4f3cf2fbfb265fcd9f079a371a7cc68d4fe62>

[19] Spec for `progress` element either specifies attribute order dependency or can be easily misread that way · Issue #3066 · whatwg/html () <https://github.com/whatwg/html/issues/3066>

[20] Make attribute order not matter for <progress> by annevk · Pull Request #3067 · whatwg/html () <https://github.com/whatwg/html/pull/3067>