This regards the overuse of warning “This is an experimental API that should not be used in production code.” This is similar to June’s topic “Experimental” banners in CSS docs
My motivating example is found within page Element where we are told that clientTop
and friends should not be used. This is way past astonishing. It is a shame, as it discredits all the other valuable information at MDN.
I can find mentions of clientTop
on the web back before 2010, with references such as CSSOM and now CSSOM View Module. And in my bookshelf I find a mention in a book by Goodman from 2003. Hardly “nascent and immature”.
Unless fixing this particular example and all the others like it are somehow subsumed within the compatibility table project, I’d like to offer a simple suggestion. Any use of “{{experimental_inline}}
” and the like, carried over from text more than, say, two years old should be summarily removed.
Unless of course you wish to temporarily clarify by replacing with a “{{we_have_no_idea_inline}}
” macro. It really is that bad, this carrying over of grossly outdated misinformation for far too many years.
I do see the guidelines MDN conventions and definitions were updated only 4 months ago to describe proper usage of ‘experimental’. Perhaps this bruise on the MDN apple has previously been noticed?
BTW: The page for scrollTop
says it is supported by everybody! How can it be marked ‘experimental’?