W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2011

[Bug 12945] "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

From: <bugzilla@jessica.w3.org>
Date: Sun, 04 Sep 2011 09:43:49 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1R09Ez-0001S7-O8@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12945

Olli Pettay <Olli.Pettay@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NEEDSINFO                   |

--- Comment #8 from Olli Pettay <Olli.Pettay@gmail.com> 2011-09-04 09:43:48 UTC ---
I would assume that after setting reflectedAttribute,
reflectedAttribute would give back the same element it was set to.
But that is not the case.

If reflectedAttribute would be set to element_in_some_other_document
element.reflectedAttribute would give back null or perhaps some
other element which has the same ID as element_in_some_other_document.

So, the spec should probably require that
when setting reflected attribute, the element which ID attribute is read
is in the same document.

-- 
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 Sunday, 4 September 2011 09:43:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:03 UTC