Google Chrome 105 Released With HTML Sanitizer API, Container Queries & More

Written by Michael Larabel in Google on 30 August 2022 at 04:30 PM EDT. 4 Comments
GOOGLE --
Google engineers today promoted Chrome 105 to their stable channel across Linux, macOS, Windows, and Android platforms.

Chrome 105 doesn't bring much directly for end-users but does have a number of notable developer additions in building new -- and improving existing -- web applications and sites. Some of the Chrome 105 highlights include:

- Adding an "onbeforeinput" global content attribute to make it easier to make use of the "beforeinput" event on input / textarea / content-editable elements before they are about to be modified.

- Support for Container Queries as a way to style elements according to the size of a container element.

- Support for the CSS ":modal" pseudo class that is used for a state that excludes all interaction with elements outside it until it has been dismissed.

- Support for Media Source Extensions (MSE) within DedicatedWorker contexts.

- A basic HTML Sanitizer API that can be used to remove content that may execute scripts from arbitrary, user-supplied HTML content. The hope is with the Sanitizer API it can be used for building XSS-free web applications.

- Support for anonymous iframes.

- The option for "blocking=render" as an attribute for script, style, and stylesheet link elements to make them explicitly render-blocking.

- WebSQL has been deprecated and removed from non-secure contexts.

More details on the Chrome 105 feature changes via ChromeStatus.com.

There are also 24 known security fixes as outlined on the Chrome Release Blog.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week