Re: Space characters in map name

On 6/9/08, Henri Sivonen <hsivonen@iki.fi> wrote:
>
>
> > The name attribute gives the map a name so that it can be referenced. The
> attribute must be present and must have a non-empty value. Whitespace is
> significant in this attribute's value. If the id  attribute is also
> specified, both attributes must have the same value.
> >
>
>  Do we really want to make space characters in the name attribute value
> conforming? It seems counter-intuitive--particularly with the id sameness
> requirement imposing the requirement anyway when id is present.

What would it look like if the name had a space?

<map name="with spaces">
<img usemap="#with%20spaces">

and

<map name="with spaces" id="with spaces">
<img usemap="#with%20spaces">

?

-- 
Michael

Received on Monday, 9 June 2008 19:55:16 UTC