[whatwg] Add an attribute for opting out of synchronous CSSOM access
Tab Atkins Jr.
jackalmage at gmail.com
Wed Apr 17 15:05:08 PDT 2013
On Wed, Apr 17, 2013 at 2:51 PM, David Bruant <bruant.d at 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
More information about the whatwg
mailing list