Re: [mediaqueries] scripting

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