Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Explanation of Terms

This reference uses CSS-specific terminology in its field headings. This article describes these terms and explains their meanings and possible values.

Contents:

Syntax
Types Allowed
Constants
Subproperties
Availability
Support Level


Syntax

The Syntax field describes the syntax of a CSS property. If a property can have multiple forms, each form appears in its own line.

Types Allowed

The Types Allowed field contains information about what numeric types are allowed in a given property. This field is missing from properties that do not have a single numeric type, such as properties that take multiple values or use non-numeric constants exclusively.

The Types Allowed field does not present the complete story, however, as a property may also take additional types specific to its subproperties.

Constants

The Constants field contains a list of non-numeric values that you can assign to a specific property. For example, the border-width property can take the value caption.

The Constants field does not present the complete story, however, as a property may also take additional values specific to its subproperties.

Subproperties

The Subproperties field describes properties that make up a larger property.

There are three basic types of properties: simple properties, convenience properties, and composite properties.

Convenience properties such as border-width have related subproperties with finer granularity. For example, instead of setting the border-width property, you could set the border-bottom-width, border-top-width, border-left-width, and border-right-width properties to the same value and achieve the same result.

Because these convenience properties can be broken down into subproperties of the same basic type, any value that is legal for all of the subproperties is also legal for the convenience property as a whole if the property has a single-value form, and for the individual parts if the property has a multi-value form. For example, the border-width property can accept the value thin even though it is only listed in related subproperties such as border-bottom-width. Similarly, you could use a multi-value form, such as border-width: thin thin thin thin.

Composite properties also have related subproperties. For example, the second parameter in the border property is equivalent to the border-width property. Thus, any value that is appropriate for the border-width property is also appropriate for the width portion of the border composite property.

Similarly, the types allowed for a subproperty are also allowed for convenience properties and the appropriate portions of composite properties that contain them.

Availability

The Availability field tells the version of Safari in which the property first appeared.

Support Level

The Support Level field tells which revision of the W3C standard a given property is defined in, where applicable, and tells the overall status of the property for properties that are not part of a W3C standard. The possible values are:

Properties may be upgraded to more stable categories as time passes, particularly as tags are added to relevant standards.



< Previous PageNext Page > Hide TOC


Last updated: 2008-06-09




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice