W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: Proposal for limited :matches pseudoclass

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 14 Jan 2009 13:06:56 -0600
Message-ID: <dd0fbad0901141106k7afa4d24sa5378ac55548e428@mail.gmail.com>
To: "James Elmore" <James.Elmore@cox.net>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style list" <www-style@w3.org>

On Wed, Jan 14, 2009 at 1:03 PM, James Elmore <James.Elmore@cox.net> wrote:
>
>
> On Jan 14, 2009, at 8:51 AM, fantasai wrote:
>
>>> fantasai wrote:
>>>>
>>>> :matches would take a normal selector rather than a fragment that
>>>> begins with a combinator (which seems very unbalanced to me, like
>>>> passing a mathematical function an expression that began with the
>>>> multiplication symbol). It would just be restricted to only allow
>>>> the > and + combinators.
>>>
>
> [Sorry about the nesting, my mail editor added it and I can't seem to delete
> it.]
>
> Anyway -- using ":matches" seems unclear. The matching is against selectors,
> so it should be something like ":match_selector" or ":selector_match". This
> would allow later addition of ":text_match" for (previously proposed)
> regex-like matches and possibly even other types of matches, if they are
> proposed. But simply using ":matches" would cause confusion at the beginning
> and limitations later for any 'match' extensions in CSS.

I'm not married to the name in any way, it just seemed appropriate.
It is not at all an issue for me.

~TJ
Received on Wednesday, 14 January 2009 19:07:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:15 GMT