[whatwg] [web-apps] Ability to treat transparent part of element transparent to events

Matthew Raymond mattraymond at earthlink.net
Tue Jan 11 07:47:11 PST 2005


martijnw wrote:
> See:
> https://bugzilla.mozilla.org/show_bug.cgi?id=102695 - Treat some 
> transparent elements as "transparent to events"
> I think that explains basically what I would like to have.
> Afaik, that's something that IE is already doing (at least I heard).
> Basically, I was thinking about some sort of attribute that would enable 
> this behavior.
> Is this something worth considering for the Web Applications spec?

    I think that CSS3 would be a better target for this, and thus it 
should probably be addressed on the W3C www-style mailing list:

    http://lists.w3.org/#www-style

    Perhaps something like this would do...

HTML:
| <div id="special-shape"><!-- Contents --></div>

CSS:
| #special-shape {
|   background-image: url(special.png);
|   crop: background;
| }



More information about the whatwg mailing list