Content: Document CharacterData

Created on 16 Feb 2021  路  4Comments  路  Source: mdn/content

https://developer.mozilla.org/en-US/docs/Web/API/CharacterData is incomplete. None of the sub pages exist but they should. CharacterData is a core DOM API that is well supported and that should have proper docs.

This came up in https://github.com/mdn/content/pull/2394 where I removed the weird NonDocumentTypeChildNode mixin, so don't worry about that anymore.

CharacterData is the parent interface for Text, ProcessingInstruction, and Comment nodes, so when creating the pages and example code, you probably want to show how to use CharacterData methods like appendData() with something concrete like https://developer.mozilla.org/en-US/docs/Web/API/Text nodes.

document-not-written

Most helpful comment

@Ryuno-Ki yup, just look at the page, the ones highlighted in red are not written. Usually with these interface pages, whoever documented the interface will add all of the links to the missing property pages.

BCD will also expose this to you if the BCD has been completed for everything in the API, or ideally take a look at the spec to check. There are a lot of interfaces that are like this.

All 4 comments

Is there a list of all pages that are missing?

@Ryuno-Ki yup, just look at the page, the ones highlighted in red are not written. Usually with these interface pages, whoever documented the interface will add all of the links to the missing property pages.

BCD will also expose this to you if the BCD has been completed for everything in the API, or ideally take a look at the spec to check. There are a lot of interfaces that are like this.

Yep, what Rachel says. BCD is already complete for this one.

Oh, okay. I thought we would have a meta-issue for tracking them.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yukulele picture yukulele  路  4Comments

sideshowbarker picture sideshowbarker  路  4Comments

lychyi picture lychyi  路  3Comments

foolip picture foolip  路  3Comments

arturcarvalho picture arturcarvalho  路  5Comments