emnadridi / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 0 forks source link

Defalt width/height values of Map component do not work properly with "-//W3C//DTD XHTML 1.0 Strict//EN" HTML DOCTYPE #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My web application is according to "-//W3C//DTD XHTML 1.0 Strict//EN" HTML
DOCTYPE standard and I'm using Map component with default width/height
value, that is 500/500 :

<m:map type="G_NORMAL_MAP" address="#{addressBean.enderecoCompleto}">

But unfortunately it does not work, the map does not appear on the my web
page. After investigating, i see that the "XHTML 1.0 Strict" standard does
not understand the length value without a specific unit to width/height CSS
attributes. that means it works fine if i set values specifically :

<m:map type="G_NORMAL_MAP" width="500px" height="500px"
address="#{addressBean.enderecoCompleto}">

FYI: I'm using Mac OS X 10.5.8 and the Firefox browser.

So the default width/height values could be 500px/500px instead of 500/500
to make it works well with all HTML document standards

Original issue reported on code.google.com by tron...@gmail.com on 28 Apr 2010 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by jose.noh...@gmail.com on 2 May 2010 at 9:15

GoogleCodeExporter commented 9 years ago

Original comment by jose.noh...@gmail.com on 2 May 2010 at 9:57