[OpenLayers-Dev] doctype in examples

Andreas Hocevar ahocevar at opengeo.org
Mon May 30 10:36:08 EDT 2011


it seems that with the XHTML doctype still used in many of our
examples, IE9 does not do a good vector rendering job. It will choose
the VML renderer, and do some things like label alignment really wrong
(see http://openlayers.org/dev/examples/vector-features-with-text.html).
When the doctype is changed to <!DOCTYPE HTML>, the same example
renders perfectly well in IE9, using the SVG renderer.

So my question: would developers agree to change the doctype of all
our examples (at least the ones that continue to work fine after the
change), and include this change in 2.11?

I'm +1.


Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

More information about the Dev mailing list