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

Ian Hickson ian at hixie.ch
Fri Feb 13 12:03:53 PST 2009

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.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list