This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27837 - Specify elementsFromRect
Summary: Specify elementsFromRect
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM View (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-15 08:44 UTC by Simon Pieters
Modified: 2015-01-15 14:39 UTC (History)
1 user (show)

See Also:


Attachments

Description Simon Pieters 2015-01-15 08:44:40 UTC
http://dev.w3.org/csswg/cssom-view/#dom-document-elementfrompoint

Also add elementsFromRect.

See https://groups.google.com/a/chromium.org/d/msg/blink-dev/dTYbg4_S2b8/l83KfXvn9x8J

MS impl http://msdn.microsoft.com/en-us/library/ie/hh673523(v=vs.85).aspx#The_msElementsFromRect_method

Use cases:

* fuzzy hit testing algorithms (like our touch adjustment) to be implemented in JS
* to implement touch-drag selections; for drag-and-drop selection operations as seen in drawing tools and UI builders