Although Dom has a set of core APIs for interacting with XML and HTML documents, there are still several specifications that extend the standard DOM. Many of these extensions were originally browser-specific, but later became the standard of fact, and other browsers provided the same implementation. The three specifications described in this chapter are as follows.
The 1 selectors API defines two methods that enable developers to get elements from the DOM based on CSS selectors, both queryselector () and Queryselectorall ().
2 element traversal, which defines additional attributes for DOM elements, makes it easier for developers to jump from one element to another. This extension occurs because the browser handles whitespace characters between DOM elements differently.
3 HTML5, which defines a number of extended functions for the standard DOM. This includes the standard definitions provided on the basis of factual criteria such as the InnerHTML attribute, as well as the extended APIs prescribed for managing focus, setting character sets, scrolling pages.
Although the number of DOM expansion is not much, but with the development of WEB technology, I believe there will be more expansion to emerge. Many browsers are experimenting with proprietary extensions that, once recognized, can become "pseudo" standards and even be included in the updated version of the specification.
Dom Extensions for JavaScript