- From: Peter Moulder <peter.moulder@monash.edu>
- Date: Tue, 26 Feb 2013 15:31:51 +1100
- To: www-style@w3.org
On Mon, Feb 25, 2013 at 07:34:32PM -0800, Andrew Fedoniouk wrote: > Reading this part: http://www.w3.org/TR/CSS2/syndata.html#tokenization > > Seem like this: > > div { > some-prop: { /* prop value may contain blocks, so: */ > start: 0%; > end: 100%; > color-stops: white/0% red/100% > }; > } > > is a valid *syntax* construction from CSS 2.1 point of view. > > Am I right? More precisely, it conforms to CSS 2.1's description of the core grammar. It does not conform to the grammar of valid CSS 2.1 that's described (non-normatively) at http://www.w3.org/TR/CSS21/grammar.html . A quick search doesn't turn up any normative text saying that property values can't contain blocks, but OTOH there's no CSS 2.1 property called "some-prop", and none of the properties that CSS 2.1 does define allow blocks in their values. pjrm.
Received on Tuesday, 26 February 2013 04:32:16 UTC