Skip to content

Commit

Permalink
https://html.spec.whatwg.org/multipage/custom-elements.html#custom-el…
Browse files Browse the repository at this point in the history
…ements-core-concepts
  • Loading branch information
justindhillon committed Feb 28, 2024
1 parent 3ba1d82 commit 2a822b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3710,7 +3710,7 @@ export function pushStartInstance(
return pushSelfClosing(target, props, type);
}
// These are reserved SVG and MathML elements, that are never custom elements.
// https://www.w3.org/TR/custom-elements/
// https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts
case 'annotation-xml':
case 'color-profile':
case 'font-face':
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dom-bindings/src/shared/isCustomElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function isCustomElement(tagName: string, props: Object): boolean {
// These are reserved SVG and MathML elements.
// We don't mind this list too much because we expect it to never grow.
// The alternative is to track the namespace in a few places which is convoluted.
// https://www.w3.org/TR/custom-elements/
// https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts
case 'annotation-xml':
case 'color-profile':
case 'font-face':
Expand Down

0 comments on commit 2a822b2

Please sign in to comment.