Chrome 114 officially released, supports CHIPS

Four weeks have passed since the release of Chrome 113, and Google recently released Chrome 114 on time. Chrome 114 has CHIPS enabled by default, which is part of Google's move to phase out third-party cookies with new cookie attributes; Chrome 114 also enables the Popover API by default to make it easier to implement popups.

text-wrap:balance

Use text-wrap-balanceto improve text layout. The animation below shows the difference you can make with just one line of code.

As a developer, you don't know the final size of the text, the font size, or even the language of the text. All variables are needed to efficiently handle text wrapping. Since the browser does know all the factors, by passing text-wrap:balance, you can ask the browser to figure out the best solution.

Balanced blocks of text are more pleasing to the reader's eyes. It grabs the reader's attention better and is generally easier to read.

CHIPS: Cookies with independent partition state.

Previously, when a user visited site A, embedded site C could set a cookie on the user's machine. If the user then visits Site B, which is also embedded in Site C, Site C can access the same cookie that was set on Site A. This allows Site C to compile the user's browsing activity across Sites A, B, and each site it embeds.

While cross-site tracking is an issue, there are valid cross-site cookie requirements that can be implemented in a privacy-preserving manner through cookie partitioning.

With CHIPS, when a user visits site A and the embedded content in site C sets a cookie with the Partitionedattribute , the cookie set when site C is embedded on site A is only saved in the partition jar. The browser will only send this cookie if the top-level site is A.

When a user visits a new site, say site B, site C will not receive the cookie that was set when C was embedded in site A.

Popover API

With the Popover API, it's easier to create temporary user interface (UI) elements that are displayed on top of all other Web application UIs.

These elements include user-interactive elements such as action menus, form element suggestions, content selectors, and teaching UI. The new popover property enables any element to be automatically displayed on top. This means developers no longer have to worry about positioning, stacking elements, focus, or keyboard interaction.

other

  • Devtools lets you pause and debug C and C++ code in DWARF-enabled WebAssembly applications
  • navigator.bluetooth.requestDevice()The options in allow exclusionFiltersweb developers to exclude some devices from the browser selector.

More details can be viewed: https://developer.chrome.com/en/blog/new-in-chrome-114/

Guess you like

Origin www.oschina.net/news/243308/chrome-114-released