W3C home > Mailing lists > Public > www-style@w3.org > February 2016

Re: [mediaqueries] scripting

From: Florian Rivoal <florian@rivoal.net>
Date: Fri, 26 Feb 2016 12:05:57 +0100
Cc: www-style@w3.org
Message-Id: <AEC06AEB-B0DE-48E8-840C-BFFC0E9805F8@rivoal.net>
To: fantasai <fantasai.lists@inkedblade.net>

> On Feb 25, 2016, at 05:43, fantasai <fantasai.lists@inkedblade.net> wrote:
> 
> On 02/09/2016 11:13 PM, Tab Atkins Jr. wrote:
>> On Tue, Feb 9, 2016 at 7:13 PM, Florian Rivoal <florian@rivoal.net> wrote:
>>> 
>>> Right. I don't think we should pin down exactly how long the scripts run,
>>> since there are too many possible variants. But maybe we can set a minimum
>>> threshold, so that authors have something to depend on. Can they depend
>>> on the onload even firing if @scripting: initial-only is true, or is there
>>> a risk that a UA which runs synchronous scripts as they get parsed but
>>> never fires any event would still match?
>> 
>> I don't think we should determine any of this.  We don't care.  Our MQ
>> is so that authors can safely guard styles that will be used on an
>> "active scripting" page and not pollute the printed/etc page.
> 
> I agree with Florian that we should set a minimum requirement.

That makes sense to me (otherwise I would not hve proposed it), but
I am not entirely sure what the requirement should be. How about
going at least as far as firing the DOMContentLoaded event? Or maybe
the load event?

 - Florian
Received on Friday, 26 February 2016 11:06:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:00 UTC