xsl-list
[Top] [All Lists]

Re: seeking clarification of CSS2 spec

2004-07-07 15:21:08
Thank very much Jeni that was exactly what I needed.

Kind regards

John Farrow

Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New
Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand
phone +64 4 479 1738 fax +64 4 479 1294 web http://www.xmlpdf.com
----- Original Message ----- 
From: "Jeni Tennison" <jeni(_at_)jenitennison(_dot_)com>
To: "fo" <fomailinglist(_at_)xmlpdf(_dot_)com>
Cc: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, July 08, 2004 1:32 AM
Subject: Re: [xsl] 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/


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--