[webkit-help] Creating a non clickable element

Adam Roben aroben at apple.com
Tue Jul 6 08:17:31 PDT 2010


On Jul 4, 2010, at 6:54 AM, Holger Freyther wrote:

> I have a little problem with generating content. I want an item to be
> displayed on top of everything  (z-level: high-number) but I do not want
> the hittest to hit this layer. Is there some kind of CSS  attribute I could
> use to exclude my layer from the hittest or is there an easy way with
> event  handlers?

pointer-events:none should do what you want.

-Adam



More information about the webkit-help mailing list