- From: M. Klehr <mklehr@gmx.net>
- Date: Fri, 09 May 2014 20:44:15 +0000
- To: www-dom@w3.org
- Message-ID: <536D3E1F.2040801@gmx.net>
Hello, I'd like to comment on the current spec for MutationObservers. Some that I have always found confusing is the differentiation between properties and attributes of DOM Elements. As I am immersed in writing scripts for the DOM, I usually interact with the DOM via the Node's properties. Mostly, attributes and properties overlap, however there are properties that don't mirror their corresponding attributes. For example, the `checked` property initially has the same value as its attribute. However, when such an element is checked, the property value changes whereas the attribute value does not. As properties are part of the DOM, it would help very much if such property changes were possible to be observed via MutationObservers. Kind regards, Marcel Klehr
Attachments
- application/pgp-keys attachment: 0xA3BFAF31.asc
Received on Monday, 12 May 2014 15:09:41 UTC