Opened 11 years ago

Closed 4 years ago

#6284 closed enhancement (patchwelcome)

function to test if coordinate is in dom element like http://www.prototypejs.org/api/position/within

Reported by: harobed Owned by: Eugene Lazutkin
Priority: high Milestone: 1.13
Component: HTML Version: 1.0
Keywords: dom needsreview Cc:
Blocked By: Blocking:

Description (last modified by sjmiles)

I work on low level drag and drop as easy as scriptaculous (http://article.gmane.org/gmane.comp.web.dojo.user/31297/match=klein+stephane). In my code I need to test if coordinate is in dom element. This function is like "http://www.prototypejs.org/api/position/within".

Few month ago I've spoke about this function (http://article.gmane.org/gmane.comp.web.dojo.user/31417/match=klein+stephane). Now I suggest my path.

Regards, Stephane

Attachments (1)

within.harobed.patch (1.2 KB) - added by harobed 11 years ago.
dojo.within patch

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by harobed

Attachment: within.harobed.patch added

dojo.within patch

comment:1 Changed 11 years ago by bill

Milestone: 1.11.2

I doubt we want to add more functions into dojo core (perhaps into dojox) but in any case moving all milestone 1.1 tickets to 1.2, except for reopened tickets and tickets opened after 1.1RC1 was released.

comment:2 Changed 11 years ago by sjmiles

Description: modified (diff)
Milestone: 1.2future

comment:3 Changed 8 years ago by ben hockey

Keywords: needsreview added

comment:4 Changed 8 years ago by bill

Milestone: futuretbd
Owner: changed from sjmiles to Eugene Lazutkin
Status: newassigned

comment:5 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: assignedclosed

Sorry, this patch is very stable and we should have given it more attention 8 years ago! Would reconsider a pull request against master. Closing as patchwelcome.

Note: See TracTickets for help on using tickets.