Re: [csswg-drafts] [selectors][css-syntax] "parse a selector" missing trailing parenthesis

It sounds like @gsnedders and I are on the same page.

I must admit that I initially didn't even look at the 
`<function-token>` and `<ident-token>` references, I just assumed that
 `<ident-token>` couldn't possibly allow a leading parenthesis, so 
since my string didn't contain any `)`, how could it possibly match 
the grammar?

Seems to me that `parse a selector` might be better off not referring 
to a grammar, but to some description of the actual algorithm. I 
haven't been following along in the goings-on here, but browsing 
throught the EDs now I don't really understand why Selectors has this 
grammar, and not a parser algorithm à la Syntax.

-- 
GitHub Notification of comment by oyvind-stenhaug
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/492#issuecomment-247563922 
using your GitHub account

Received on Friday, 16 September 2016 10:02:48 UTC