W3C home > Mailing lists > Public > www-style@w3.org > April 2015

Re: [selectors-4] bikeshed on profiles

From: Jonathan Kingston <jonathan@jooped.co.uk>
Date: Wed, 8 Apr 2015 23:10:15 +0100
Message-ID: <CA+EVJMXytX4-Gb-NL+KTBd05PumkGwwHBD8JcHjmqhJk_O+_3A@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Brian Kardell <bkardell@gmail.com>, "www-style@w3.org" <www-style@w3.org>
I'm not precious at all over the names suggested however the current names
are not as clear as they could be (as it seems everyone agrees with anyway).

One thing that was highlighted is the lack of explanation around the
separation of the profiles and why they exist.

Once Brian mentioned that the complete profile was used by the likes of
querySelectorAll to statically get results one time rather than 'fast'
which matches dynamically the concept became much more clear why the
separation exists.

On 8 April 2015 at 17:34, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Tue, Apr 7, 2015 at 3:40 PM, Brian Kardell <bkardell@gmail.com> wrote:
> > It seems a lot of people are confused by the 'fast' and 'complete'
> > profiles especially because of the name 'fast'... We have spent a a
> > lot of time discussing why they even exist.
> >
> > Jonathan Kingstonā€ (@KingstonTime) mentioned to me the same, and so
> > I'm just wondering if we're doing ourselves extra harm by calling it
> > 'fast'.  It's not 'fast' in so much as 'what we already do and know
> > how to do in order to do the dynamic selector matching that is CSS'.
> >
> > So, what about just renaming them 'static-profile' and
> > 'dynamic-profile' as you can explain why right there in the spec and
> > it should be a little easier for people to grok and avoid confusion..
>
> These names are fine with me.  It communicates pretty well what they
> actually mean, and gives a better idea of what things might not be
> appropriate for the "fast" (dynamic) version.
>
> Also, bz gave this set a +1 in another thread.
>
> ~TJ
>
>
Received on Wednesday, 8 April 2015 22:10:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC