New to the web platform in November

Stable browser releases #
In November, Firefox 107, and Chrome 108 became stable. Let’s take a look at what this means for the web platform.
A change to Layout Viewport behavior in Chrome on Android #
There’s a change to how the Layout Viewport behaves…


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

Stable browser releases #

In November, Firefox 107, and Chrome 108 became stable. Let's take a look at what this means for the web platform.

A change to Layout Viewport behavior in Chrome on Android #

There's a change to how the Layout Viewport behaves from Chrome 108 on Android when the on-screen keyboard is shown. Read Prepare for viewport resize behavior changes coming to Chrome on Android to learn more.

New viewport units #

Also in Chrome 108 are the new CSS Viewport Units. These include small (svw, svh, svi, svb, svmin, svmax), large (lvw, lvh, lvi, lvb, lvmin, lvmax), dynamic (dvw, dvh, dvi, dvb, dvmin, dvmax), and logical (vi, vb) units. These units are already implemented in Firefox and Safari, meaning that we now have interop across the three main browser engines for these units.

Read The Large, Small, and Dynamic viewport units.

Browser support: chrome 108, Supported 108 firefox 101, Supported 101 edge 108, Supported 108 safari 15.4, Supported 15.4

The contain-intrinsic-size shorthand CSS property is supported in Firefox 107, along with the longhand contain-intrinsic-width, contain-intrinsic-height and logical properties contain-intrinsic-block-size and contain-intrinsic-inline-size.

These are applied to specify the size of a UI element that is subject to size containment. This allows a user agent to determine the size of an element without needing to render its child elements. They are useful when an element is subject to size containment.

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

Support for the CSS fragmentation avoid keyword #

Chrome 108 includes support for the avoid value of the CSS fragmentation properties break-before, break-after, and break-inside when printing. This value tell the browser to avoid breaking before, after or inside the element it is applied to. For example, the following CSS avoids a figure being broken at a page break.

figure {
break-inside: avoid;
}

This addition is due to the inclusion of print support using LayoutNG, this brings a modern, lessy buggy experience. Learn more about LayoutNG.

Federated Credential Management API #

The Federated Credential Management API (FedCM) provides an abstraction for federated identity flows on the web. It exposes a browser mediated dialog that allows users to choose accounts from identify providers to login to websites. FedCM is shipping in Chrome 108, find out more about it in the FedCM announcement blog post.

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. Due to where release dates fall, the only new beta this month is Firefox 108, with Safari 16.2 beta still ongoing.

Firefox 108 supports height and width attributes for the <source> element, when it is a child of a <picture> element. These attributes accept the height or width of the image, in pixels, as an integer without a unit.

Implementation of container queries is underway in Firefox. Behind the layout.css.container-queries.enabled flag in Firefox 108 beta, you will find the container query length units—cqw, cqh, cqi, cqb, cqmin, cqmax. These are units of length relative to the size of a query container.

Photo by Matt Seymour.


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-11-30T00:00:00+00:00) New to the web platform in November. Retrieved from https://www.scien.cx/2022/11/30/new-to-the-web-platform-in-november/

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

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.