Bug 81791 - Webkit mask image fires event listeners underneath the mask
Summary: Webkit mask image fires event listeners underneath the mask
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 09:11 PDT by Ian
Modified: 2012-03-21 09:11 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian 2012-03-21 09:11:05 PDT
Using -webkit-mask: url('asmall.svg') to mask a div with an absolutely positioned div underneath. Adding an event listener to the absolutely positioned offset div allows you to click outside the mask and trigger the event listener.

http://industriousminds.com/experiments/sticker/ 

For an example

Ian