Web platform features explorer

📃 April 2005 release notes

New in Safari

The following features are now available in Safari:

  • background: The background CSS property is a shorthand that sets several background properties at once.
  • background-image: The background-image CSS property sets the graphics to display behind the content of an element and in front of the background color. Graphics may be any combination of images or gradients.
  • <canvas>: The <canvas> HTML element is a space to draw graphics in, using the 2D canvas API, WebGL, or WebGPU.
  • 2D canvas: The CanvasRenderingContext2D API is the "2d" rendering context for the <canvas> element. It represents a flat, two-dimensional space for drawing graphics and animations.
  • clip: The clip CSS property sets the visible area of an absolutely positioned element.
  • execCommand(): The execCommand() method reads and writes from the clipboard and performs editing commands on editable text, such as changing the font name or style. Related methods check whether commands are supported, enabled, or applied.
  • Min and max width and height: The min-width, min-height, max-width, and max-height CSS properties set the minimum and maximum size of an element.
  • opacity: The opacity CSS property sets the transparency of an element.
  • :target: The :target CSS pseudo-class matches the element with an ID matching the URL fragment.
  • Text overflow: The text-overflow CSS property sets how hidden overflow content appears to users. The property can clip content, truncate content with an ellipsis (…), or truncate with a custom string.
  • User action pseudo-classes: The :active, :focus, and :hover CSS pseudo-classes match elements based on how users are interacting with them.
  • visibility: The visibility CSS property sets whether an element is shown. Invisible elements still affect the document layout.
  • Widows and orphans: The widows and orphans CSS properties set the minimum lines included in a text fragment created by page, column, or region breaks.