- From: Garrett Smith <dhtmlkitchen@gmail.com>
- Date: Mon, 4 Feb 2013 19:41:53 -0800
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: www-style@w3.org
On 2/4/13, Boris Zbarsky <bzbarsky@mit.edu> wrote: > On 2/4/13 11:56 PM, Tab Atkins Jr. wrote: [...] > > As a separate issue, it's not obvious to me whether it's better to have > a null OM or a CSSStyleSheet object that throws when you try to examine > its rules (but not if you just want to check whether it's disabled, > say). Gecko currently does the latter, I believe, but there are > reasonable arguments both ways... That's what I was wondering. Other options include a 'loaded' flag (readonly) and an zero-length CSSRuleList. And if it is not loaded, would a 'load' method be desirable? -- Garrett Twitter: @xkit personx.tumblr.com
Received on Tuesday, 5 February 2013 03:42:22 UTC