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

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 5 Apr 2013 16:07:49 +0300
Message-ID: <CAJQvAuebqg8wJ_H_RbsToOwNAANXu3yyp4b11nxa1OCD2fsc9Q@mail.gmail.com>
To: WHATWG <whatwg@whatwg.org>
For problem statement, please see
http://lists.w3.org/Archives/Public/www-style/2013Jan/0434.html

For solution, please see
http://lists.w3.org/Archives/Public/www-style/2013Jan/0457.html

For CSS WG thinking that this is an HTML issue, please see
http://lists.w3.org/Archives/Public/www-style/2013Mar/0688.html
(FWIW, I think this is a CSS issue than requires an HTML attribute to
be minted.)

Please add an attribute to <link> that:
 * opts an external style sheet out of synchronous CSSOM access
 * makes the sheet not load and not defer the load event if its media
query cannot match in the UA even after zooming or invoking a print
function
 * makes the sheet load with low priority and not defer the load event
if its media query does not match at the time the <link> element is
inserted into the document but might match later (e.g. if it's a print
style sheet).

--
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Friday, 5 April 2013 13:08:23 UTC

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