Bug 1535725 Comment 47 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

https://searchfox.org/comm-central/search?q=.firstChild.nextSibling&case=false&regexp=false&path=
584 hits, so you can't really say that it's badly readable.

https://searchfox.org/comm-central/search?q=.children%5B1%5D&case=false&regexp=false&path=
130 hits, mostly in 3rd party code, tests and devtools. Also, I have the impression that `children` is also used for style retrievals.

.children and .childNodes are different, the former doesn't return text or comment nodes. Is that desired?
https://searchfox.org/comm-central/search?q=.firstChild.nextSibling&case=false&regexp=false&path=
584 hits, so you can't really say that it's badly readable.

https://searchfox.org/comm-central/search?q=.children%5B1%5D&case=false&regexp=false&path=
130 hits, mostly in 3rd party code, tests and devtools. Also, I have the impression that `children` is also used for style retrievals.

https://searchfox.org/comm-central/search?q=.childNodes%5B1%5D&case=false&regexp=false&path=
195 hits, mostly in 3rd party code, tests and devtools.

.children and .childNodes are different, the former doesn't return text or comment nodes. Is that desired?

Back to Bug 1535725 Comment 47