- From: Simon Sapin <simon.sapin@exyr.org>
- Date: Thu, 03 Apr 2014 17:37:11 +0100
- To: "Tab Atkins Jr." <jackalmage@gmail.com>, Mark Volkmann <r.mark.volkmann@gmail.com>
- CC: Chris Eppstein <chris@eppsteins.net>, "Jens O. Meiert" <jens@meiert.com>, W3C WWW Style <www-style@w3.org>
On 03/04/2014 17:31, Tab Atkins Jr. wrote:
> CSS Syntax already allows at-rules inside of style
> rules (none are defined yet, but it's available when we extend into
> that realm, which we will definitely do), and you don't need a
> semicolon between a property and a following at-rule, so we can't use
> at-keywords as value syntax.
You do need the semicolon in this case, so we could have at-keywords in
property values.
But an "item" in a declaration list that starts with an at-keyword is
already an at-rule, so it can not be a custom property declaration. This
is used in CSS Paged Media:
@page {
size: A4 landscape;
@top-left {
content: "Title!";
}
}
--
Simon Sapin
Received on Thursday, 3 April 2014 16:37:38 UTC