Re: Making selectors first-class citizens

On Mon, Sep 16, 2013 at 1:45 PM, François REMY
<francois.remy.dev@outlook.com> wrote:
>> Read the thread more closely - as always, we only suggest dropping
>> prefixed variants *if possible*.
>
> Define possible.

"Can be done without too many pages breaking as a result", where "too
many" is subjective.

But dealing with prefixes has nothing to do with aliasing.

> If we add "matchesSelector" as an official alias to "matches" the same way "querySelector" and "querySelectorAll" will be aliases to "query" and "queryAll" soon, it should be possible to drop the prefixed version. This is possible, according to my definition of possible.

query() isn't an alias for querySelector().

~TJ

Received on Monday, 16 September 2013 21:05:19 UTC