Closed Bug 1280738 Opened 8 years ago Closed 4 years ago

Document.registerElement instead of invalid method Document.register should be referenced from Web Components | MDN and related pages

Categories

(Developer Documentation Graveyard :: API: DOM, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: anaran, Unassigned)

References

()

Details

https://developer.mozilla.org/en-US/docs/Web/API/Web_Components
does not exist, yet it is referenced from links shown below.

In particular it suggests an invalid method in the sidebar: Document.register()
The correct method to reference would probably be Document.registerElement()

See these links:

https://developer.mozilla.org/en-US/docs/Web/API/Web_Components
https://developer.mozilla.org/en-US/docs/Web/Web_Components#
https://developer.mozilla.org/en-US/docs/Web/API/HTMLContentElement
https://developer.mozilla.org/en-US/docs/Web/API/HTMLShadowElement
https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot
https://developer.mozilla.org/en-US/docs/Web/API/Document/register

  referenced from

https://developer.mozilla.org/en-US/docs/Web/Web_Components

Details:

Web Components
Interfaces

    HTMLContentElement
    HTMLShadowElement
    ShadowRoot

Methods

    Document.register()

http://mzl.la/1vxCDgA
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.