June 2023 web platform update
Newly available on the web platform
Newly available
-
calc() constants: The
e
,pi
,infinity
, andNaN
constants are accepted in CSS math functions such ascalc()
. Learn more. -
JavaScript modules in workers: The
Worker()
constructor accepts{ type: "module" }
to load scripts that useimport
andexport
. Also known as ECMAScript modules or ESM in workers. Learn more. -
window.print(): The
window.print()
method opens the browser's print dialog. Learn more.
Now available in Edge
Limited availability
-
Idle detection: The
IdleDetector
API is used to notify a webpage of the user's idle, active, and locked state. Learn more. -
Popover: The
popover
HTML attribute creates an overlay to display content on top of other page content. Popovers can be shown declaratively using HTML, or using theshowPopover()
method. Learn more. -
scrollend: The
scrollend
event fires when an element or document has finished scrolling. Learn more. -
text-wrap: balance: The
text-wrap: balance
CSS declaration balances the length of each line when text is broken into multiple lines. Also known as headline balancing. Learn more. -
text-wrap: nowrap: The
text-wrap: nowrap
CSS declaration prevents text breaking into multiple lines. Text that doesn't fit overflows instead. Learn more. -
Transferable ArrayBuffer: The
transfer()
andtransferToFixedLength()
methods ofArrayBuffer
move a buffer from one context to another (for example, to a worker). Learn more.
Now available in Firefox
Limited availability
-
JavaScript modules in shared workers: The
SharedWorker()
constructor accepts{ type: "module" }
to load scripts that useimport
andexport
. Also known as ECMAScript modules or ESM in shared workers. Learn more. -
WebTransport: The
WebTransport
API transmits data between a client and a server, by using the HTTP/3 protocol. Learn more.
Now available in Firefox for Android
Limited availability
-
JavaScript modules in shared workers: The
SharedWorker()
constructor accepts{ type: "module" }
to load scripts that useimport
andexport
. Also known as ECMAScript modules or ESM in shared workers. Learn more. -
WebTransport: The
WebTransport
API transmits data between a client and a server, by using the HTTP/3 protocol. Learn more.