[OpenLayers-Dev] doctype in examples

Tim Schaub tschaub at opengeo.org
Mon May 30 12:45:33 EDT 2011


On 5/30/11 8:57 AM, Eric Lemoine wrote:
> On Mon, May 30, 2011 at 4:36 PM, Andreas Hocevar<ahocevar at opengeo.org>  wrote:
>> Hey,
>>
>> 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.
>
> +1
>
>

Yes please.


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.


More information about the Dev mailing list