Skip to content

Commit 2a822b2

Browse files
committed
https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts
1 parent 3ba1d82 commit 2a822b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3710,7 +3710,7 @@ export function pushStartInstance(
37103710
return pushSelfClosing(target, props, type);
37113711
}
37123712
// These are reserved SVG and MathML elements, that are never custom elements.
3713-
// https://www.w3.org/TR/custom-elements/
3713+
// https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts
37143714
case 'annotation-xml':
37153715
case 'color-profile':
37163716
case 'font-face':

packages/react-dom-bindings/src/shared/isCustomElement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function isCustomElement(tagName: string, props: Object): boolean {
1515
// These are reserved SVG and MathML elements.
1616
// We don't mind this list too much because we expect it to never grow.
1717
// The alternative is to track the namespace in a few places which is convoluted.
18-
// https://www.w3.org/TR/custom-elements/
18+
// https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-core-concepts
1919
case 'annotation-xml':
2020
case 'color-profile':
2121
case 'font-face':

0 commit comments

Comments
 (0)