📃 February 2026 release notes
Newly available
The following features are newly available:
-
Map getOrInsert():
The
getOrInsert()andgetOrInsertComputed()methods ofMapobjects get a value, setting and getting a default value if needed. -
shape():
The
shape()CSS function creates shapes with a series of commands likeline,move, andcurve. It can be used withclip-pathandshape-outside. - Trusted types: Trusted types allow you to lock down insecure parts of the DOM API and prevent client-side cross-site scripting (XSS) attacks.
-
Zstandard compression:
Zstandard or
zstdis a fast lossless compression algorithm. When used as a content encoding, it is often faster and offers better compression than brotli.
Widely available
The following features are now widely available:
-
dirname:
The
dirnameattribute of<textarea>and<input>HTML elements includes the field's writing direction as form data on submission.
New in Chrome
The following features are now available in Chrome:
-
Origin:
An
Originobject represents an origin, as in a scheme, hostname, and port. You can use it to make same-site and same-origin comparisons. -
text-justify:
The
text-justifyCSS property sets the justification method of text whentext-align: justifyis set.
New in Chrome Android
The following features are now available in Chrome Android:
-
Origin:
An
Originobject represents an origin, as in a scheme, hostname, and port. You can use it to make same-site and same-origin comparisons. -
text-justify:
The
text-justifyCSS property sets the justification method of text whentext-align: justifyis set.
New in Edge
The following features are now available in Edge:
-
Origin:
An
Originobject represents an origin, as in a scheme, hostname, and port. You can use it to make same-site and same-origin comparisons. -
text-justify:
The
text-justifyCSS property sets the justification method of text whentext-align: justifyis set.
New in Firefox
The following features are now available in Firefox:
-
hidden="until-found":
The
hidden="until-found"attribute hides an element until it is found using the browser's find-in-page search or it is directly navigated to by following a URL fragment. -
Navigation precommit handlers:
The
precommitHandlercallback option toNavigateEvent'sintercept()method returns a promise that defers navigation until the promise resolves. You can use this to change the navigation's URL, state, and history before navigation occurs. -
Sanitizer API:
The
Document.parseHTML()static method and thesetHTML()method ofElementandShadowRootobjects parse and insert HTML into the DOM in a way that can prevent cross-site scripting attacks. TheSanitizerAPI can customize the sanitization process.
New in Firefox for Android
The following features are now available in Firefox for Android:
-
hidden="until-found":
The
hidden="until-found"attribute hides an element until it is found using the browser's find-in-page search or it is directly navigated to by following a URL fragment. -
Navigation precommit handlers:
The
precommitHandlercallback option toNavigateEvent'sintercept()method returns a promise that defers navigation until the promise resolves. You can use this to change the navigation's URL, state, and history before navigation occurs. -
Sanitizer API:
The
Document.parseHTML()static method and thesetHTML()method ofElementandShadowRootobjects parse and insert HTML into the DOM in a way that can prevent cross-site scripting attacks. TheSanitizerAPI can customize the sanitization process.