- From: David Schweinsberg <david@steadystate.co.uk>
- Date: Mon, 29 Mar 1999 18:51:48 +0100
- To: "WWW-Style" <www-style@w3.org>
Hi
The CSS2 grammar specification defines the following production:
media
: MEDIA_SYM S* medium [ ',' S* medium ]* '{' S* ruleset* '}' S*
;
Yet my understanding from the spec is that "@media" can also contain "at
keywords", as demonstrated in the HTML 4.0 sample style sheet (fragment):
@media print {
@page { margin: 10% }
H1, H2, H3,
H4, H5, H6 { page-break-after: avoid; page-break-inside: avoid }
BLOCKQUOTE,
PRE { page-break-inside: avoid }
UL, OL, DL { page-break-before: avoid }
}
So I'm assuming the grammar is incomplete, or am I missing something?
Regards,
David
David Schweinsberg
Steady State Software Ltd.
43 Winslow Road, Wingrave, Aylesbury, Bucks, HP22 4PS, UK
Tel: +44 (0)1296 681840 Fax: +44 (0)1296 682472
URL: http://www.steadystate.com
Received on Monday, 29 March 1999 12:53:36 UTC