[OpenLayers-Users] [BUG] Openlayers in Firefox as XHTML
Nick Whitelegg
nick at hogweed.org
Mon Jan 29 15:56:36 EST 2007
On Monday 29 Jan 2007 14:29, Dipl.-Inf.(FH) Carsten Eider wrote:
> Hi guys,
>
> I am working on a meshup of Openlayers and XForms embedded into FireFox
> 2.0.0.1
> In oder to be able to use XForms in Firefox, the uses file has to have
> the extension ".xhtml".
> If I do so, OpenLayers.Layers.Canvas doesn't work any more.
> The usage of this object results in
>
> Error: this.canvas.getContext is not a function
> Source http://www.openlayers.org/api/OpenLayers.js
> Line: 330
I'm guessing this is because the canvas tag is not part of the official XHTML
specification, and when firefox is parsing xhtml in strict mode it doesn't
pick up on the canvas tag. I'm not sure what to do about it though - maybe
try the firefox mailing lists?
Nick
More information about the Users
mailing list