Re: Specifying hit testing in CSS

On Aug 20, 2010, at 8:33 AM, Simon Fraser wrote:

> On Aug 20, 2010, at 8:07 AM, Leif Arne Storset wrote:
> 
>> We would like to see this behavior specified and converging on a specific
>> behavior. Whether Gecko/WebKit adopt the more sophisticated behavior or IE
>> and we (Opera) switch to the simpler behavior is not very important to us,
>> although in general, simpler algorithms are preferred, of course.
> 
> You should also consider how the following affect hit testing, particularly with
> pointer-events: visible.
> 
> * opacity: 0
> * visibility: hidden
> * hit outside the border of an element with border-radius

Backgrounds & Borders 3 covers that last one. It says:

"Also, the area outside the curve of the border edge does not accept mouse events on behalf of the element."

I haven't clicked on all the links in Leif's post, but I think this would also overlap with JavaScript event bubbling, etc.

Received on Friday, 20 August 2010 16:37:26 UTC