W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2009

[whatwg] Styling of area elements (as displayed within referencing image)

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 13 Feb 2009 20:03:53 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0902132001440.28232@hixie.dreamhostps.com>
On Wed, 11 Feb 2009, L. David Baron wrote:
> >
> >    http://www.whatwg.org/specs/web-apps/current-work/#image-maps-0
> 
> That text seems ambiguous in the case of values like 'cursor:
> inherit' on area elements (and the possibility of future values that
> also take values from the parent element).  In particular, the text:
>   # has a value explicitly specified (as opposed to inheriting it
>   # from the element's parent)
> seems self-contradictory regarding 'cursor: inherit'.

I've reworked this to use another approach that should make more sense. 
Let me know if it still has problems.

Since an <area> element can be hooked up to several <img> elements, the 
getComputedValue() API still returns the value from the original element 
(inheriting from its real parent). I hope that's ok.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 13 February 2009 12:03:53 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:09 UTC