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

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

From: David Bruant <bruant.d@gmail.com>
Date: Wed, 17 Apr 2013 23:51:08 +0200
Message-ID: <516F194C.9030400@gmail.com>
To: Henri Sivonen <hsivonen@iki.fi>
Cc: WHATWG <whatwg@whatwg.org>
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.

David

[1] http://lists.w3.org/Archives/Public/www-style/2013Jan/0519.html
Received on Wednesday, 17 April 2013 21:51:38 UTC

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