Re: Create CSSStyleDeclaration object

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 11/27/09 4:11 AM, Mike5 wrote:
> Background:
> Because of the apparent Firefox bug with XHTML and tag character case,
> I have a problem with binding XBL to tags. E.g.:
>
> Works:
> CSS: ns|customtag { style... }
> XHTML:<ns:customtag>
>
> Doesn't work:
> CSS: ns|customTag { style... }
> XHTML:<ns:customTag>
>
> (!!!note the capital "T"!!!)

This should work fine in an XHTML document.  Can you point to your testcase?

> But another problem appears. These elements do not have a style
> property. So I am searching for a way to create one

You can't.

-Boris
_______________________________________________
dev-tech-dom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-dom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.