Bug 21132 - Regions need a way to respond to events in their content fragment
Summary: Regions need a way to respond to events in their content fragment
Alias: None
Product: CSS
Classification: Unclassified
Component: Regions (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Alan Stearns
QA Contact: public-css-bugzilla
URL: http://lists.w3.org/Archives/Public/w...
: 15679 (view as bug list)
Depends on:
Reported: 2013-02-26 23:02 UTC by Alan Stearns
Modified: 2013-06-24 22:34 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alan Stearns 2013-02-26 23:02:21 UTC

If a content element receives a click, touch or drag event, the event bubbles up through the content element's place in the DOM, and the region that displays the content (and its parents) never hear about it.
Comment 1 Alan Stearns 2013-04-05 00:34:34 UTC
*** Bug 15679 has been marked as a duplicate of this bug. ***
Comment 2 Alan Stearns 2013-06-24 22:34:41 UTC
An elementsFromPoint() method has been added to CSSOM-view:


This will in most cases allow code to determine which fragment container has been clicked. It will not fix CSS hover styling.

An additional 'paint-order' value for pointer-events is proposed for a future level of CSS UI:


This would optionally allow user events to pass through the stack of elements under the event coordinates. This would the issue for both click events and CSS hover styling in fragment containers.