[dom] MutationObservers -- observing certain property changes

"M. Klehr" <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]>
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
0xA3BFAF31.asc (application/pgp-keys, 1.6 KB)
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBFJ7pf4BCADGNfQIzleLsWOqCg2tQ2halvV0RntNuOzJK/nv5OU3/OytFG9b
RKGCRFmhBXffbta0VM5qLkEdnqNLKyLX3nf1cfL+bLikmKArtMFdqHl0tWyH4w8U
D7jcZ6sgO/k4Uesk91+Tjuqz2SQybtpBhgSq/x2shtHBkyLK43lUVBit6yyq00JG
BqJPP+HqTiU3IjuJOHKoPRsQZv3NInN3fbPkKSdSRtie+uGpC47tMw4RvteAiUqg
urw2eTP2TNlk4BeImHgLK1Lywak17UMzBa2lUQ9frffIBgAUnhj5LQCPnIBh8EMZ
oTJGlFFsg+NoqFSZXfNxBEyhADVKCFZnGFGvABEBAAG0GU0uIEtsZWhyIDxta2xl
aHJAZ214Lm5ldD6JATsEEwECACUFAlJ7pf4CGyMFCQlmAYAGCwkIBwMCBBUCCAMD
FgIBAh4BAheAAAoJEFcsPFejv68xchoIAJxumIKoghwFQy6ox7s5XC2YxeTi1AHS
duD6umiDHf0kk1jVbV2P/Bwwpfc8ewJ8cmkBJR0KchJFWbVrsy5tu5FZkFKihP4T
jh6T3uT9fzin+AoYSS27zRMGzm1BOiRVlBSX2yqWwzSuhnXdpuasQYmHVV1yr+aN
i2JIndXJOsMxybqG866bWELokkd5bZcguiuICXh3EsC/B82Zkl00NTXGvcLxQT86
jon2y8uAGf1NYzu4XMB7a8l3OSXXb99Hj+I5i63b0s9LG6nzXESEX/aq1sAxhWjy
81x2vOP7+iS3IQtBr9ust1N3H/BME7OCprVJaQ1MTs6isFPX+9ZaPaW5AQ0EUnul
/gEIAMWhK3VBPl1egZMTxk0QZXDE0RonlvdQCYLNWoHHaSQgpCL8FWdtD/qNdlYI
3Kz3pBU31k9tF8w49J2enn7gcEulObPl0hi27sBopv/Xv2f2SUIVzIrokar1OrM3
pnUXe2sdkhJbJLHwx6tL3tyi0PGrWvCcHM9gmL1+vX9ujp+0OL/VKJsvYn1EgimN
sAMqiuuSLMyJpp+sbUAQRYnADdPmn2NHA5GdyVFUn6hrZkXST5kHVcqIvetxax0W
6/raiZv5/wYxwTicN3PTbbGnf5WPJtEj7w4PWAb4fNZZEeH1XZ2lalRfm7K3O5/Q
YbVXpkkYMRqUVdc/7raGW1nluh0AEQEAAYkBJQQYAQIADwUCUnul/gIbDAUJCWYB
gAAKCRBXLDxXo7+vMTqCB/9v2dMKQRBB3QOxhkd/8RXxV3AHs7s7oiuxqnJj8iso
x1vAKH11SQdV5K0dbZ2m7ZW03eFUGABgNpE+J0v65vN7SaVbMksqKgbZ3N4bjqb0
GwOv+k1ogq1099QSJcS8zYZRAqglUlVPK64V6X24XCfzRznoZuv86h4BRGIEy6qL
8vWGt02S0XWg07fV6h4cFDN56arHuGqAVIzTuqiM25pOaEovKlEeInGJXes36xC+
KIXCpVN3n8QKWzxIGRWrVBDeEpTyP2Z/Lf2QKld6VEIcfw1pt9a24LassWxE9uDQ
/+rbSaxwgFaOGO40+GHTCwz7VQBGKvVy7N5vPl9IrEaz
=Rg8t
-----END PGP PUBLIC KEY BLOCK-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.