[css3-gcpm] EXAMPLE 2 in section 2.1.1 is not correct

Hello,

Section 2.1.1 of the editor's draft ("string-set") has the following example:

@page {
  @top-right { content: env(url) }
  @bottom-right { content: env(date-time) }
}

The "env" function can't be used in this context. It should be a member of the <content-list> of a "string-set" property. The example could be changed as follows:

@page {
  @top-right { content: string(url) }
  @bottom-right { content: string(date-time) }
}

body {
  string-set: url env(url), date-time env(date-time);
}

Best regards,

Werner.
--
http://www.pincette.biz/
Handling your documents with care, wherever you are.

Received on Tuesday, 24 April 2012 13:47:31 UTC