Xopus

Main Menu

  • Schemas
  • CSS
  • Chrome
  • Firefox
  • Fund

Xopus

Header Banner

Xopus

  • Schemas
  • CSS
  • Chrome
  • Firefox
  • Fund
CSS
Home›CSS›Safari 15.4 introduces new WebKit features

Safari 15.4 introduces new WebKit features

By Warren B. Obrien
March 15, 2022
0
0

The WebKit team announced new features in Safari 15.4 that include changes to HTML, CSS, typography, and more.

WebKit is the web browser engine used by Safari, Mail, App Store, and many other apps on macOS, iOS, and Linux.

Thanks to WebKit adding lazy-loading images with the ‘loading’ attribute on the element developers can now instruct the browser to delay loading certain images until the user scrolls nearby.

WebKit also added support for the global ‘autofocus’ attribute. What to focus on can be indicated when the page loads or when a ‘‘ is displayed.

Several additions to CSS in 2022 provide new capabilities for web developers to design their code, making it easier to reuse code, build design systems, and integrate into complex applications.

To provide a way to apply CSS rules conditionally based on an element’s content, WebKit added support for the ‘:has()’ pseudo-class.

Also new on the CSS side is support for cascading layers, a way to organize styles into layers where specificity is calculated independently inside each layer.

Web developers can now create a ‘framework’ layer and a ‘custom’ layer – by assigning all CSS from a third-party framework to the ‘framework’ layer and writing their own code in the ‘custom’ layer.

WebKit also added support for CSS containment with all four types: size, layout, style, and paint with the ‘contain’ property.

WebKit aimed to solve common problems for developers who, until now, did not have a tool that worked the same way as existing window units. In response, they now have access to new window units that support logical dimensions.

Safari 15.4 is available today for macOS Monterey 12.3, iPadOS, and iOS 15.4. Additional details on the 70 additions to WebKit are available here.

Related posts:

  1. What are Cascading Style Sheets and what is CSS for?
  2. Update from the European Commission: The future revision of REACH and the restriction of PFAS | Jones Day
  3. The Greeting Cards Market Expected To Experience High Growth By 2026
  4. Virtual Healthcare Assistant Market to Grow Exponentially Between 2021 and 2028 | Key players – CSS Corp, eGain, idAvatars, Kognito, MedRespond
Tagsweb browser

Recent Posts

  • This Keyboard Shortcut Can Undo Your Most Annoying Browser Mistake
  • UCSF and I-SPY 2 breast cancer researchers develop newly redefined breast cancer response subtypes
  • India-based web design company promises free food to children in need
  • Global Chromium Powder Market Size 2022 Booming By Share, Growth Size, Scope, Key Segments And Forecast To 2029 – Industrial Computing
  • Google Search Adds Author Markup Best Practices

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021

Categories

  • Chrome
  • CSS
  • Firefox
  • Fund
  • Schemas
  • Terms and Conditions
  • Privacy Policy