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

RE: [selector-profiles] confusion

From: François REMY <francois.remy.dev@outlook.com>
Date: Thu, 11 Jul 2013 21:07:17 +0200
Message-ID: <DUB120-W44F86979A9D791CCB9BC03A57B0@phx.gbl>
To: Sylvain Galineau <galineau@adobe.com>
CC: "www-style@w3.org" <www-style@w3.org>
> Dude, I got all that. I am asking for the specific use-cases that suggest
> that, yes, authors might indeed end up calling qSA on load so regularly it
> ought to be baked in. Having 'a' use-case or 'some' use-cases is very
> different from 'yes, this sounds like something I'd want to do regularly'.

Actually, you may want to ask Lea for examples. I was dubious about that as well previously, particularly on the subject selector thing, but she did send me some pretty good use-cases over time. Sadly, that was mostly Twitter discussions so I don't have them handy right now.

The one I could think of however is:

   !label /for/ input:focus {
      ... focus style for the labels of the focused input ...
   }

This is only working on the complete profile right now for multiple reasons but authors can accept that the styling of the label may be a bit delayed after the focus change, that's not a big deal.




>>My proposal copes with all traditional stylesheets needs that can
>>accomodate slight FOUC {for example highlighting an element based on its
>>content as the user is typing for example...}
>
> Whoa. 'traditional stylesheets that can accommodate slight FOUC' could
> well be the weirdest, most subjective, undefinable thing I've ever read on
> this list. Respect…:)

That's because it's indeed an undefinable concept. Depending on context, an author may decide that some rules are not worth being kept up-to-date at every frame because this is costly and the delay that may result from not keeping them up-to-date does not affect the user experience in a critical way. So, yes, that's totally subjective. It depends on the use case, on the author vision, on the expected performance of the user's devices, and on the users expectations. But the author opting-out of full-time rule rematching has control and/or insight over those parameters. 		 	   		  
Received on Thursday, 11 July 2013 19:07:45 UTC

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