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">


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


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

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:32 UTC