Last Comment Bug 673790 - Remove childElementCount
: Remove childElementCount
Status: RESOLVED WONTFIX
: dev-doc-complete
Product: Core
Classification: Components
Component: DOM: Core & HTML (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-24 09:54 PDT by Anne (:annevk)
Modified: 2013-04-26 15:56 PDT (History)
6 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Anne (:annevk) 2011-07-24 09:54:28 PDT
Remove childElementCount as it is redundant with children.length.

If this is done I can remove it from DOM Core which would be nice.
Comment 1 Anne (:annevk) 2011-07-24 09:54:59 PDT
https://bugs.webkit.org/show_bug.cgi?id=65079
Comment 2 Olli Pettay [:smaug] (high review load, please consider other reviewers) 2011-07-24 11:44:19 PDT
It is quite strange to remove something which was implemented and specified (even Rec level) just couple of years ago.

I don't recall why Element Traversal didn't include .children
Comment 3 Anne (:annevk) 2011-07-24 16:54:34 PDT
It seems better than removing it a decade from now as we try to do with other badly designed features.
Comment 4 Jonas Sicking (:sicking) PTO Until July 5th 2011-07-24 19:02:57 PDT
I'd be ok with attempting to remove it. And I definitely agree, it's better to remove something early if it's a bad feature (which I think is the case here), rather than wait and try to remove it later.
Comment 5 Anne (:annevk) 2012-03-21 07:22:51 PDT
Ping?
Comment 6 Anne (:annevk) 2012-11-27 10:28:18 PST
Failed :-(
Comment 7 Florian Scholz [:fscholz] (MDN) 2013-04-26 15:56:57 PDT
This page does not say anymore that this is going to be removed.
https://developer.mozilla.org/en-US/docs/DOM/Element.childElementCount

Note You need to log in before you can comment on or make changes to this bug.