ISSUE-66: Add grammar for an+b notation in Selectors

Add grammar for an+b notation in Selectors

State:
CLOSED
Product:
Selectors Level 3
Raised by:
Daniel Glazman
Opened on:
2008-10-16
Description:
Proposed grammar:

S* [ ['-'|'+']? INTEGER? {N} [ S* ['-'|'+'] S* INTEGER ]? ]
| ['-'|'+']? INTEGER
| {O}{D}{D}
| {E}{V}{E}{N}
] S*

where INTEGER maps to [0-9]+

Perl syntax /w:
\s* ( [+\-]?\d+n ( \s*[+\-]\s* [0-9]+ )?
| [+\-]?\d+
|odd
|even
) \s*
Related Actions Items:
No related actions
Related emails:
  1. [CSSWG] Summary and Resolutions F2F: Selectors and calc() (from fantasai.lists@inkedblade.net on 2008-11-10)
  2. ISSUE-66: Add grammar for an+b notation in Selectors [Selectors] (from sysbot+tracker@w3.org on 2008-10-16)

Related notes:

Accepted at TPAC 2008

Elika Etemad, 22 Oct 2008, 16:42:51

Changelog:

Created issue 'Add grammar for an+b notation in Selectors' nickname owned by Daniel Glazman on product Selectors, description 'Proposed grammar:

S* [ ['-'|'+']? INTEGER? 'n' [ S* ['-'|'+'] S* INTEGER ]? ]
| ['-'|'+']? INTEGER
| 'odd'
| 'even'
] S*

where INTEGER maps to [0-9]+

Perl syntax /w:
\s* ( [+\-]?\d+n ( \s*[+\-]\s* [0-9]+ )?
| [+\-]?\d+
|odd
|even
) \s*
' non-public

Elika Etemad, 16 Oct 2008, 10:29:41

Description changed to 'Proposed grammar:

S* [ ['-'|'+']? INTEGER? {N} [ S* ['-'|'+'] S* INTEGER ]? ]
| ['-'|'+']? INTEGER
| {O}{D}{D}
| {E}{V}{E}{N}
] S*

where INTEGER maps to [0-9]+

Perl syntax /w:
\s* ( [+\-]?\d+n ( \s*[+\-]\s* [0-9]+ )?
| [+\-]?\d+
|odd
|even
) \s*
'

Elika Etemad, 22 Oct 2008, 16:42:51

Status changed to 'closed'

Elika Etemad, 29 Jan 2009, 02:22:43


Peter Linss <peter.linss@hp.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, Chairs, Chris Lilley <chris@w3.org>, Bert Bos <bert@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.325 2014-09-10 21:42:02 ted Exp $