All Safari web browsers use the WebKit engine to display webpages. WebKit is an open source framework in Mac OS X that lets developers embed web browser functionality into applications. In providing this browser functionality, WebKit implements a number of extensions to HTML, CSS, and JavaScript. This document covers support of cascading style sheets (CSS) in WebKit.
You can use Cascading Style Sheets (CSS) in conjunction with HTML-based web content to fine-tune the style of the content. The goal of CSS is to separate the structure provided by HTML from the style provided by CSS. Taking style information out of the structure allows designers to independently tune a page’s style for a variety of audiences and readers (such as desktops, hand-held devices like iPhone, and text-based browsers).
You should read this document if you are creating web content for any version of Safari or any other WebKit-based application such as Dashboard.
This document contains the following articles:
“Explanation of Terms” explains terminology used in this reference.
“Supported CSS Properties” describes all of the CSS properties supported by Safari and provides information about which web standards (as defined by the World Wide Web Consortium, or W3C) include those properties, where applicable.
“Supported CSS Rules” describes CSS rules supported by Safari, including media rules, downloadable font rules, and so on.
“CSS Property Functions” describes functions used by CSS transform properties.
Last updated: 2008-11-19