W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2013

Re: [whatwg] Add an attribute for opting out of synchronous CSSOM access

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 17 Apr 2013 15:05:08 -0700
Message-ID: <CAAWBYDAmmzEDDnd3CKm2XehBwyVqjkcxwCuiCJrZU40YFvUfFg@mail.gmail.com>
To: David Bruant <bruant.d@gmail.com>
Cc: Henri Sivonen <hsivonen@iki.fi>, WHATWG <whatwg@whatwg.org>
On Wed, Apr 17, 2013 at 2:51 PM, David Bruant <bruant.d@gmail.com> wrote:
> Le 05/04/2013 15:07, Henri Sivonen a écrit :
>> Please add an attribute to <link> that:
>>   * opts an external style sheet out of synchronous CSSOM access
>
> Sorry if my suggestion is naive, but why about an attribute to opt out of
> CSSOM entirely? As you suggested in the www-style thread [1] "I would guess
> that the average author doesn't use CSSOM beyond the sugaring for the style
> attribute and maybe getComputedStyle() and even those hidden behind a
> JavaScript library."
> As a web developer (I don't know about "average") I certainly agree.

Opting out entirely doesn't really gain us anything, and locks out
cases that *do* want CSSOM access but also want async stylesheets.

~TJ
Received on Wednesday, 17 April 2013 22:05:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:57 UTC