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

Re: [mediaqueries] scripting

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 24 Feb 2016 23:43:12 -0500
To: www-style@w3.org
Message-ID: <56CE8660.1020409@inkedblade.net>
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.

> Precisely when that happens doesn't really matter for our purposes,
> and the choice of exactly how much script gets run in an
> "initial-only" UA is a quality-of-implementation decision.  If they
> cut it off too early they'll break pages *regardless* of this MQ.

Breaking pages on the Web is not a concern of certain implementations
that would be needing the 'initial-only' value.

~fantasai
Received on Thursday, 25 February 2016 04:43:41 UTC

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