- From: L. David Baron <dbaron@fas.harvard.edu>
- Date: Thu, 7 Jan 1999 13:43:40 -0500 (EST)
- To: unk6@rz.uni-karlsruhe.de, www-style@w3.org
You're right. At rules can't come directly within declaration-blocks. At-rules can, however, come in property values. (This is clearer in the CSS2 spec [1], but is stated (implicitly) in CSS1: "Any character may occur in the value, but parentheses (()), brackets ([]), braces ({}), single quotes (') and double quotes (") must come in matching pairs. Parentheses, brackets, and braces may be nested. Inside the quotes, characters are parsed as a string." [2] Thus a valid test would be: P.twentytwo { type-display: @threedee {rotation-code: '}';}; color: green; } David Baron [1] http://www.w3.org/TR/REC-CSS2/syndata.html [2] http://www.w3.org/TR/REC-CSS1#forward-compatible-parsing
Received on Thursday, 7 January 1999 13:43:42 UTC