Web platform features explorer

📃 February 2004 release notes

New in Safari

The following features are now available in Safari:

  • initial: The initial keyword resets any CSS property to its initial value as defined by the specification. For example, the initial value of the display property is inline, regardless of the element being styled. Not to be confused with revert, which resets to the user or browser default style.
  • Keyboard events: The keydown and keyup events fire for each key press (or, with modifier keys, a combination of key presses) on a keyboard.
  • Outlines: The outline-color, outline-style, and outline-width and outline-offset CSS properties style a line around an element, outside of the border.