Re: Create CSSStyleDeclaration object
Mike5 <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <9bc7e936-7c15-4dd4-bb4c-a5b41855bc96@f16g2000yqm.googlegroups.com> |
On Nov 30, 8:23 am, Boris Zbarsky <[email protected]> wrote: > On 11/30/09 2:08 AM, Mike5 wrote: > > > if I load my stylesheet from extension, then it does not work for > > camelCase: > ... > > var CAMLExt_sss = Components.classes["@mozilla.org/content/style-sheet- > > service;1"] > > .getService > > (Components.interfaces.nsIStyleSheetService); > > Ah,https://bugzilla.mozilla.org/show_bug.cgi?id=429298 > > This will be fixed in whatever the Gecko version after 1.9.2 is. > > -Boris Great, thank you. And since we're talking about style, once the correct style is applied to that box, can I change it from Javascript? At least setting it's width and height? Thanks and br, Miha