Re: ITS 2.0, Selectors 4 and Selectors API 2

2013-07-03 Thread Jirka Kosek
On 2.7.2013 2:53, Daniel Glazman wrote: > a. it's not possible, even in Selectors API 2 [5], to resolve arbitrary >namespaces in querySelectorAll() In general this might be problem, but for ITS I don't see this as a problem. People who use ITS with non-HTML content (various flavours of XML) w

Re: ITS 2.0, Selectors 4 and Selectors API 2

2013-07-02 Thread Tab Atkins Jr.
On Tue, Jul 2, 2013 at 12:57 AM, Daniel Glazman wrote: > On 02/07/13 09:16, Tab Atkins Jr. wrote: >> Pseudo-elements do exist in the document tree as far as layout is >> concerned. > > No, they do not. They don't create new nodes (yet), even shadow nodes, > they can't be serialized. They belong to

Re: ITS 2.0, Selectors 4 and Selectors API 2

2013-07-02 Thread Daniel Glazman
On 02/07/13 09:16, Tab Atkins Jr. wrote: Pseudo-elements do exist in the document tree as far as layout is concerned. No, they do not. They don't create new nodes (yet), even shadow nodes, they can't be serialized. They belong to the layout tree, NOT the document tree. Selectors can indeed a

Re: ITS 2.0, Selectors 4 and Selectors API 2

2013-07-02 Thread Tab Atkins Jr.
On Mon, Jul 1, 2013 at 11:53 PM, Daniel Glazman wrote: > On 02/07/13 04:46, Tab Atkins Jr. wrote: >> That's already the case - the subject indicator has to precede the >> compound selector. > > Tab, I know, *I* designed the subject indicator *exactly* the way it > is in the spec back in *1997* in

Re: ITS 2.0, Selectors 4 and Selectors API 2

2013-07-01 Thread Daniel Glazman
On 02/07/13 04:46, Tab Atkins Jr. wrote: That's already the case - the subject indicator has to precede the compound selector. Tab, I know, *I* designed the subject indicator *exactly* the way it is in the spec back in *1997* in a language called STTS and an application implementing it... I m

Re: ITS 2.0, Selectors 4 and Selectors API 2

2013-07-01 Thread Liam R E Quin
On Mon, 2013-07-01 at 19:46 -0700, Tab Atkins Jr. wrote: [...] > If you want Selectors to be able to select attribute nodes, address it > directly with a new selector. This should not be smuggled in via the > subject indicator. Maybe it would be simpler to support an XPath() selector? When you s

Re: ITS 2.0, Selectors 4 and Selectors API 2

2013-07-01 Thread Tab Atkins Jr.
On Mon, Jul 1, 2013 at 5:53 PM, Daniel Glazman wrote: > 1. only one subject indicator is allowed per compound selector That's already the case - the subject indicator has to precede the compound selector. > 2. the subject indicator can precede a universal selector (potentially > omitted

Re: ITS 2.0, Selectors 4 and Selectors API 2

2013-07-01 Thread Daniel Glazman
On 02/07/13 02:53, Daniel Glazman wrote: http://www.w3.org/2005/11/its"; version="2.0" queryLanguage="css"> http://www.w3.org/1999/xhtml"/> Sorry, the above is obviously wrong, please read http://www.w3.org/2005/11/its"; version=

ITS 2.0, Selectors 4 and Selectors API 2

2013-07-01 Thread Daniel Glazman
ITS 2.0 (the Internationalization Tag Set 2.0) [1] is a specification attaching l10n/i18n properties to elements and attributes of a document tree through two means: 1. locally, using attributes in the ITS namespace 2. globally, using rules expressed in XML in the ITS namespace and bas