New to the web platform in June

Stable browser releases #
In June, Chrome 103 and Firefox 102 became stable.
Transform streams and readable byte streams #
Firefox 102 includes support for Transform Streams. This enables piping from ReadableStream to a WritableStream, executing a tran…


This content originally appeared on web.dev and was authored by Rachel Andrew

Stable browser releases #

In June, Chrome 103 and Firefox 102 became stable.

Transform streams and readable byte streams #

Firefox 102 includes support for Transform Streams. This enables piping from ReadableStream to a WritableStream, executing a transformation on the chunks. It's great to see this feature become available in all three engines, making this a very good time to learn about Streams.

Browser support: chrome 67, Supported 67 firefox 102, Supported 102 edge 79, Supported 79 safari 14.1, Supported 14.1 Source

Readable byte streams are also now supported in Firefox 102, enabling a BYOB (bring your own buffer) reader with the ReadableStreamBYOBReader interface. This can be used to stream data supplied by the developer.

Browser support: chrome 89, Supported 89 firefox 102, Supported 102 edge 89, Supported 89 safari, Not supported × Source

Access locally installed fonts #

Chrome 103 includes the Local Font Access API, which allows access to the user's locally installed fonts. After requesting access to the fonts installed on the device, call window.queryLocalFonts() to get an array of the installed fonts.

const opts = {};
const pickedFonts = await self.queryLocalFonts();
for (const fontData of pickedFonts) {
console.log(fontData.postscriptName);
console.log(fontData.fullName);
console.log(fontData.family);
console.log(fontData.style);
}

The update media feature #

Firefox 102 includes the update media feature. This is used to query whether the output device can modify the appearance of content once it has been rendered.

Browser support: chrome, Not supported × firefox 102, Supported 102 edge, Not supported × safari, Not supported × Source

A new HTTP status code—103 early hints #

Chrome 103 adds a new status code HTTP 103 Early Hints. If the server or CDN knows that a certain set of subresources is required to load a page, it can advise the browser to preconnect to origins or even preload resources as the page that requires them comes in. This requires updates to your server or CDN to take advantage of the feature, find out more about Early Hints.

Beta browser releases #

Beta browser versions give you a preview of things that will be in the next stable version of the browser. It's a great time to test new features, or removals, that could impact your site before the world gets that release.

New betas in April were Chrome 104, Firefox 103, and Safari 16.

New syntax for range media queries #

Chrome 104 includes the new syntax for range media queries, from the Media Queries Level 4 specification. For example, a media query previously written like this:

@media (min-width: 400px) {}

Can now be written like this:

@media (width >= 400px) {}
Browser support: chrome 104, Supported 104 firefox 63, Supported 63 edge, Not supported × safari, Not supported × Source

Region Capture API #

Chrome 104 on desktop also includes the Region Capture API. This enables cropping and removing content from captured video before sharing it.

Safari 16 brings several key features to the browser #

Safari 16 looks to be another exciting release from the Safari team. This release adds many of the features that are included in Interop 2022, it's great to see so much landing at this mid-year point. I'm highlighting a few of my favorite features here, but do check out the release notes for more.

Along with many developers, I'm really excited to see size queries support for Container Queries, a feature that is also behind a flag in Chrome currently.

Also in Safari 16 is support for the subgrid value for grid-template-columns and grid-template-rows. This feature is already in Firefox, and in development in Chrome, and enables grid track sizing to be inherited by nested grids.

Browser support: chrome, Not supported × firefox 71, Supported 71 edge, Not supported × safari, Not supported × Source

Also for grid layout is the ability to animate grid tracks.

Browser support: chrome, Not supported × firefox 66, Supported 66 edge, Not supported × safari 16, Supported 16

The showPicker() method, enabling a canonical way to show a browser picker for dates, time, color, and files is included. You can find out more about this in show a browser picker for date, time, color, and files.

Browser support: chrome 99, Supported 99 firefox 101, Supported 101 edge 99, Supported 99 safari 16, Supported 16 Source

Accessibility issues for display: contents have also been addressed, making this useful feature safe to use without danger of removing elements from the accessibility tree.

These beta features will land in stable browsers soon.

Hero image by Nick Fewings.


This content originally appeared on web.dev and was authored by Rachel Andrew


Print Share Comment Cite Upload Translate Updates
APA

Rachel Andrew | Sciencx (2022-06-30T00:00:00+00:00) New to the web platform in June. Retrieved from https://www.scien.cx/2022/06/30/new-to-the-web-platform-in-june/

MLA
" » New to the web platform in June." Rachel Andrew | Sciencx - Thursday June 30, 2022, https://www.scien.cx/2022/06/30/new-to-the-web-platform-in-june/
HARVARD
Rachel Andrew | Sciencx Thursday June 30, 2022 » New to the web platform in June., viewed ,<https://www.scien.cx/2022/06/30/new-to-the-web-platform-in-june/>
VANCOUVER
Rachel Andrew | Sciencx - » New to the web platform in June. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/06/30/new-to-the-web-platform-in-june/
CHICAGO
" » New to the web platform in June." Rachel Andrew | Sciencx - Accessed . https://www.scien.cx/2022/06/30/new-to-the-web-platform-in-june/
IEEE
" » New to the web platform in June." Rachel Andrew | Sciencx [Online]. Available: https://www.scien.cx/2022/06/30/new-to-the-web-platform-in-june/. [Accessed: ]
rf:citation
» New to the web platform in June | Rachel Andrew | Sciencx | https://www.scien.cx/2022/06/30/new-to-the-web-platform-in-june/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.