Skip to content

Commit a517460

Browse files
authored
FF149 Relnote - allow more chars in DOM names/namespaces for elem/attribute methods (#43392)
1 parent cc66f2b commit a517460

File tree

1 file changed

+5
-0
lines changed
  • files/en-us/mozilla/firefox/releases/149

1 file changed

+5
-0
lines changed

files/en-us/mozilla/firefox/releases/149/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ Firefox 149 is the current [Beta version of Firefox](https://www.firefox.com/en-
6363
This allows developers to implement components that can be closed using device-native mechanisms, such as the <kbd>Esc</kbd> on Windows or the <kbd>Back</kbd> key on Android, in the same way as built-in components such as [dialogs](/en-US/docs/Web/HTML/Reference/Elements/dialog) and [popovers](/en-US/docs/Web/API/Popover_API).
6464
([Firefox bug 1966073](https://bugzil.la/1966073)).
6565

66+
- DOM methods now allow wider range of characters for element and attribute names.
67+
Previously, DOM methods were far more restrictive, but now they allow the same set of characters as the HTML parser.
68+
The affected methods are: {{domxref("Document/createAttribute","createAttribute()")}}, {{domxref("Document/createAttributeNS","createAttributeNS()")}}, {{domxref("Document/createElement","createElement()")}} and {{domxref("Document/createElementNS","createElementNS()")}} of the {{domxref("Document")}} interface, {{domxref("Element/toggleAttribute","toggleAttribute()")}}, {{domxref("Element/setAttribute","setAttribute()")}}, {{domxref("Element/setAttributeNS","setAttributeNS()")}} of the {{domxref("Element")}} interface, {{domxref("DOMImplementation/createDocument","createDocument()")}} of the {{domxref("DOMImplementation")}} interface, and {{domxref("CustomElementRegistry/define","define()")}} and {{domxref("CustomElementRegistry/whenDefined","whenDefined()")}} of the {{domxref("CustomElementRegistry/whenDefined","whenDefined()")}} interface.
69+
([Firefox bug 1773312](https://bugzil.la/1773312)).
70+
6671
#### Media, WebRTC, and Web Audio
6772

6873
- The {{domxref("HTMLMediaElement.captureStream()")}} method is now supported.

0 commit comments

Comments
 (0)