W3C home > Mailing lists > Public > www-style@w3.org > July 2013

Re: [selectors-l4] a crazy observation?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 12 Jul 2013 09:39:44 -0700
Message-ID: <CAAWBYDDFW3kPfGr_iSKWN7_eEhD2iZGvQD8_V9wsiBxD6Q=uPw@mail.gmail.com>
To: Brian Kardell <bkardell@gmail.com>
Cc: www-style list <www-style@w3.org>
On Fri, Jul 12, 2013 at 5:55 AM, Brian Kardell <bkardell@gmail.com> wrote:
> I would like to propose something that may seem crazy: please don't lynch
> me.
>
> I think we are barking up the wrong tree with the slow selectors  in L4
> entirely.  What if we were to remove them altogether and instead make it
> possible to create author defined pseudos.  Tab mentioned this on his blog
> http://www.xanthir.com/b4N80 (see polyfills section toward end).  Obviously
> these would present a kind of single challenge and -may- introduce a new
> kind of perf expectation - none of it would necessarily place an
> unreasonable blame on an implementer for a specific feature, we could allow
> ideas (maybe even limited optimization strategies) to  compete in the wild
> and collect data.  A single polyfill (developed and presented with a draft)
> could lift all boats in the meantime.

Polyfills are not a replacement for native functionality.  Enabling
them is a great idea, so we can more easily fill in support for older
browsers and experiment with new things, but proposing that we remove
useful functionality in favor of just doing it all in JS isn't great.

~TJ
Received on Friday, 12 July 2013 16:40:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:32 UTC