[whatwg] usemap="" and related issues

Ian Hickson ian at hixie.ch
Mon Dec 1 04:37:03 PST 2008


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

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list