gecko-dev/layout/reftests/css-selectors
Manish Goregaokar 652a30c309 Bug 1364009 - Don't allow comments/spaces between signs,numbers,and `n` in an+b syntax for nth-child; r=dbaron
In the an+b syntax, this continues to allow comments and spaces like so:
` an + b `. It does not allow `a n+b`, or `- an+b` or `+ an+b` (and the
same for the `an-b` form). Similarly, it does not allow `- b` or `+ b`.

Additionally, it *does* allow `+/*comment*/n+b` or `-/*comment*/n+b`,
but not `+ n+b` or `-n+b`. This is specced; in this one case we
parse two tokens but do not allow whitespace in between.

MozReview-Commit-ID: INzFGeMPeK7

--HG--
extra : rebase_source : ca5bcf4034759823f79b9a925dc72998d8f0218b
2017-06-01 15:54:14 -07:00
..
attr-case-insensitive-1-ref.html
attr-case-insensitive-1.html
nth-child-1.html Bug 1364009 - Don't allow comments/spaces between signs,numbers,and `n` in an+b syntax for nth-child; r=dbaron 2017-06-01 15:54:14 -07:00
nth-child-2.html Bug 1364009 - Don't allow comments/spaces between signs,numbers,and `n` in an+b syntax for nth-child; r=dbaron 2017-06-01 15:54:14 -07:00
nth-child-ref.html Bug 1364009 - Don't allow comments/spaces between signs,numbers,and `n` in an+b syntax for nth-child; r=dbaron 2017-06-01 15:54:14 -07:00
reftest.list Bug 1364009 - Don't allow comments/spaces between signs,numbers,and `n` in an+b syntax for nth-child; r=dbaron 2017-06-01 15:54:14 -07:00
sibling-combinators-on-anon-content-1.xhtml
sibling-combinators-on-anon-content-2.xhtml
sibling-combinators-on-anon-content-ref.xhtml
state-dependent-in-any-ref.html
state-dependent-in-any.html