New to the web platform in March

Stable browser releases #
In March, Chrome 99, Chrome 100, Firefox 98, and Safari 15.4 became stable. This brought a whole batch of new features to the platform, and many of these additions meant that the feature became available in all three browser e…


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

Stable browser releases #

In March, Chrome 99, Chrome 100, Firefox 98, and Safari 15.4 became stable. This brought a whole batch of new features to the platform, and many of these additions meant that the feature became available in all three browser engines. In this post I've concentrated on those additions that give us interoperability cross-browser, but do check out the release notes to see all of the features added to each engine.

Chrome 99 and Safari 15.4 included Cascade Layers. The @layer at-rule defines a cascade layer, helping you to control specificity. They join Firefox, and so Cascade Layers is now available in all three browser engines. Find out more about Cascade Layers in Cascade layers are coming to your browser.

Browser support: chrome 99, Supported 99 firefox 97, Supported 97 edge, Not supported × safari 15.4, Supported 15.4 Source

Chrome 100 includes the new value of plus-lighter for the CSS mix-blend-mode property. This value is useful when cross-fading two elements when all or a subset of pixels have the same values. You can read more about the problem this solves in Cross-fading any two DOM elements is currently impossible.

Safari 15.4 includes the contain property, allowing for CSS containment.

Browser support: chrome 52, Supported 52 firefox 69, Supported 69 edge 79, Supported 79 safari 15.4, Supported 15.4 Source

Also in Safari 15.4 is accent-color, which gives control over the accent color used on some form controls.

Browser support: chrome 93, Supported 93 firefox 92, Supported 92 edge 93, Supported 93 safari 15.4, Supported 15.4 Source

Firefox 98 and Safari 15.4 landed the <dialog> element, which represents a dialog box.

Browser support: chrome 37, Supported 37 firefox 98, Supported 98 edge 79, Supported 79 safari 15.4, Supported 15.4 Source

Safari 15.4 also completed support for the :focus-visible pseudo-class. The implementation work on this was by Igalia.

Browser support: chrome 86, Supported 86 firefox 85, Supported 85 edge 86, Supported 86 safari 15.4, Supported 15.4 Source

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 March were Chrome 101, and Firefox 99.

Chrome 101 beta includes hwb color notation. This specifies color according to its hue, whiteness, and blackness. As with other color notation, an optional alpha component specifies opacity.

h1 {
color: hwb(194 0% 0% / .5) /* #00c3ff with 50% opacity */
}
Browser support: chrome, Not supported × firefox 96, Supported 96 edge, Not supported × safari 15, Supported 15 Source

Firefox 99 includes the pdfViewerEnabled property of the Navigator interface. This property indicates if the browser supports inline display of PDF files.

if (!navigator.pdfViewerEnabled) {
// The browser does not support inline viewing of PDF files.
}
Browser support: chrome 94, Supported 94 firefox 99, Supported 99 edge 94, Supported 94 safari, Not supported × Source

These beta features will land in stable browsers soon.

Hero image by Brandon Zack


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-03-31T00:00:00+00:00) New to the web platform in March. Retrieved from https://www.scien.cx/2022/03/31/new-to-the-web-platform-in-march/

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

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.