In message <[EMAIL PROTECTED]>, Ciaran McNulty <[EMAIL PROTECTED]> writes

On 4/3/07, Costello, Roger L. <[EMAIL PROTECTED]> wrote:
Question: why are there parentheses around the lat/lon values:

                 <span class="geo" style="display:none">
                     (<span class="latitude">54.583333</span>,
                      <span class="longitude">5.9388888</span>)
                 </span>

Since this information is not being displayed (style="display:none"), I
don't see any value for the parentheses (or for the comma).

It's somewhat dangerous to assume elements set to be display:none will
never be seen...

Indeed; the punctuation is there so that the coordinates will make sense if CSS is disabled/ unavailable/ overridden (the latter might be the case if a user prefers a decimal display, rather than DMS, for instance).

--
Andy Mabbett
_______________________________________________
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to