Re: [csswg-drafts] [cssom] "Unset by default. "

A hearty +1.

The current work-around is to set an invalid `media` attribute (I use `media="only none"`) to effectively disable the stylesheet, but (a) that's hacky, and (b) Chrome doesn't currently support live re-loading by changing the `media` attribute, so you have to re-insert the `<link>` (or `<style>`) node into the DOM after mutating the attribute.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1799#issuecomment-328618382 using your GitHub account

Received on Monday, 11 September 2017 18:33:15 UTC