[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: seeking clarification of CSS2 spec

Subject: Re: seeking clarification of CSS2 spec
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Wed, 7 Jul 2004 14:32:15 +0100
Re:  seeking clarification of CSS2 spec
Hi John,

> I am just after clarification of the following definition for the
> value of a CSS2 property. This property is defined as having the
> value:
>
>         [ <border-width> || <border-style> || <color> ] | inherit
>
> My question is, does this type of definition impose an order on the
> elements ?
>
> I know "12pt solid red" is a valid value, but is "solid red 12pt" ?

In the CSS2 spec, a || means "in any order", so the answer is that
there's no order imposed on the tokens in the property, and "solid red
12pt" is valid.

See http://www.w3.org/TR/CSS2/about.html#property-defs for details of
the syntax that's used to describe properties in the CSS2 spec.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.