what has replaced the document.domconfig in javascript

Viewed 185

document.domconfig is obsolete and removed. Any heads up on what it was replaced with? Or how can I get the DOMConfiguration which is also obsolete?

1 Answers

Based on the javascript tag and lack of comments to the contrary, I'm assuming this question is about web browsers.

document.domConfig (and the related interface DOMConfiguration) was introduced in W3C DOM Level 3 Core in 2004.

The standard was not created only with web browsers in mind, as a matter of fact none of the implementations required to become a W3C Recommendation were part of a web browser.

So when the web browser renaissance began, a version of the DOM spec specifically for web browsers was created, now known as DOM Living Standard. Since there were no implementations of DOMConfiguration (indicating lack of interest from implementers and presumably web developers, particularly because many of the features are not relevant to the HTML DOM), the feature was simply pruned from the specification.

It was not replaced by anything in particular; there was nothing to replace.

If you asked "I could do X with domConfig, how do I do it in a web browser" you might get a better answer, but for a generic question about an interface with a dozen rather obscure options I guess this is what the answer should be.

Related