Re: Clickable area for hyperlinks

Le 14/06/2012 19:06, Boris Zbarsky a écrit :
> If you want browser-compatible behavior, you really want multiple
> rectangles.  Consider this:
>
>
>     <a href="something">
>       <span style="position:absolute;
>                    /* stick it somewhere */">
>         Text
>       </span>
>       <span style="position:absolute;
>                    /* stick it somewhere else */">
>         More text
>       </span>
>     </a>

Internally this is implemented in the UA stylesheet with a prefixed 
property:

a[href] { -weasy-link: attr(href) }

Just making it inheritable should do the trick.

Thanks,
-- 
Simon Sapin

Received on Thursday, 14 June 2012 17:38:05 UTC