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

Display change log ATOM feed


Alan Stearns <stearns@adobe.com>, Rossen Atanassov <ratan@microsoft.com>, Chairs, Chris Lilley <chris@w3.org>, Fuqiao Xue <xfq@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: 66.html,v 1.1 2020/01/17 10:41:28 carcone Exp $