[Greasemonkey] Greasemonkey and XHTML

Alf Eaton lists at hubmed.org
Wed Mar 22 15:10:59 EST 2006


On 21 Mar 2006, at 22:04, Lenny Domnitser wrote:

> On 3/21/06, Alf Eaton <lists at hubmed.org> wrote:
>> After running that transformation, Firefox says that the document is
>> text/xml, whereas before it was application/xhtml+xml.
>
> Ah. So my test was broken. In this case, it is a known problem:
> Firefox does not provide the proper events for XMLDocuments.
>
> You may wish to submit a bug to Mozilla, if one does not already
> exist. It seems strange that a text/xml document with a root element
> of {http://www.w3.org/1999/xhtml}html creates an XMLDocument, yet is
> treated as XHTML (e.g., the default CSS is applied). This is the case
> when XSLT is applied, or if XHTML is just served as plain old XML.

Do you think the bug should be that the events aren't there for  
XMLDocuments, or that the content type gets changed during a  
transformation?

alf.


More information about the Greasemonkey mailing list