W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: Specifying hit testing in CSS

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 20 Aug 2010 09:36:50 -0700
Cc: Leif Arne Storset <lstorset@opera.com>, "www-style@w3.org" <www-style@w3.org>
Message-Id: <A1C5FC29-4540-42DE-8D58-F0E5657F2F06@gmail.com>
To: Simon Fraser <smfr@me.com>

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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:49 UTC