[Bug 12945] New: "On setting, if the given element has an id attribute, then the content attribute must be set to the value of that id attribute. Otherwise, the IDL attribute must be set to the empty string." is strange and breaks reflection. If the given element isn't in

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12945

           Summary: "On setting, if the given element has an id attribute,
                    then the content attribute must be set to the value of
                    that id attribute. Otherwise, the IDL attribute must
                    be set to the empty string." is strange and breaks
                    reflection. If the given element isn't in
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#ref
                    lecting-content-attributes-in-idl-attributes
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification:
http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html
Section:
http://www.whatwg.org/specs/web-apps/current-work/#reflecting-content-attributes-in-idl-attributes

Comment:
"On setting, if the given element has an id attribute, then the content
attribute must be set to the value of that id attribute. Otherwise, the IDL
attribute must be set to the empty string." is strange and breaks reflection.
If the given element isn't in document or is in different document, the
parameter != element.reflectedHTMLElementAttribute.

Posted from: 91.154.40.146
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0a1) Gecko/20110610
Firefox/7.0a1

-- 
Configure bugmail: http://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, 13 June 2011 12:31:13 UTC