W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] usemap="" and related issues

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 1 Dec 2008 17:52:47 -0800
Message-ID: <63df84f0812011752o3b4631a9rb73e91944dca036e@mail.gmail.com>
On Mon, Dec 1, 2008 at 4:37 AM, Ian Hickson <ian at hixie.ch> wrote:
> On Mon, 1 Dec 2008, Lachlan Hunt wrote:
>> Ian Hickson wrote:
>> > On Mon, 1 Dec 2008, Jonas Sicking wrote:
>> > > > > Try the following markup in firefox:
>> > > > >
>> > > > > <map name="foo"></map>
>> > > > > <map name="foo">
>> > > > >  <area shape=circle coords="10,10,10" href="http://www.mozilla.com">
>> > > > > </map>
>> > > > > <img src="http://www.mozilla.org/images/feature-logos1.png"
>> > > > >     usemap="#foo" width="20" height="20">
>> > > >
>> > > > This only seems to occur in quirks mode, not in standards mode.  But
>> > > > neither
>> > > > Opera, Safari or IE8 have the same behaviour.  Additionally, the site
>> > > > reported in the bug you mentioned no longer suffers from the bug.
>> > > > Therefore,
>> > > > it doesn't appear to be necessary that we should require that behaviour.
>> > >
>> > > Ah, it does indeed only happen in quirks mode (ugh, i hate it when quirks
>> > > mode things spread into code that I work on ;) ). If no other browser is
>> > > doing it in standards mode either I'm more than happy to not have it in
>> > > the spec.
>> >
>> > The spec is including quirks-mode requirements; do other browsers do it in
>> > quirks mode?
>>
>> As I already said above, "neither Opera, Safari or IE8 have the same
>> behaviour."  I tested both quirks and standards mode.
>
> In that case, it truly seems like something where Gecko should just be
> simplified.
>
> Jonas: are there pages that depend on this? If we could remove that quirk,
> that'd be awesome...

I don't know more than what's in that bug [1], but if IE8 indeed has
dropped this quirk then I'm more than happy to do the same in firefox.

/ Jonas

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=264624
Received on Monday, 1 December 2008 17:52:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC