W3C home > Mailing lists > Public > public-html@w3.org > June 2008

Re: Space characters in map name

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Mon, 9 Jun 2008 15:54:39 -0400
Message-ID: <6b9c91b20806091254t460c5b4v8bf744d575b81600@mail.gmail.com>
To: "Henri Sivonen" <hsivonen@iki.fi>
Cc: "public-html@w3.org WG" <public-html@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:18 GMT