[Bug 17217] New: "While the exact order of attributes is UA-defined" -- no it's not. DOM4 defines attribute lists as ordered, and that's how they're exposed in the DOM. If the HTML parser doesn't say this too, it should be fixed. http://dvcs.w3.org/hg/domcore/raw-file/

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17217

           Summary: "While the exact order of attributes is UA-defined" --
                    no it's not.  DOM4 defines attribute lists as ordered,
                    and that's how they're exposed in the DOM.  If the
                    HTML parser doesn't say this too, it should be fixed.
                    http://dvcs.w3.org/hg/domcore/raw-file/
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#ser
                    ializing-html-fragments
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: other Hixie drafts (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org


Specification:
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html
Multipage: http://www.whatwg.org/C#serializing-html-fragments
Complete: http://www.whatwg.org/c#serializing-html-fragments

Comment:
"While the exact order of attributes is UA-defined" -- no it's not.  DOM4
defines attribute lists as ordered, and that's how they're exposed in the DOM.
 If the HTML parser doesn't say this too, it should be fixed. 
http://dvcs.w3.org/hg/domcore/raw-file/tip/dom-core.html#concept-element-attri
bute

Posted from: 109.64.196.140
User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.1 (KHTML, like Gecko)
Chrome/21.0.1145.0 Safari/537.1

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 28 May 2012 08:55:36 UTC