Opened 16 years ago

Closed 15 years ago

#1625 closed enhancement (wontfix)

[patch][cla] Allow parameter in: dojo.html.getScroll(node)

Reported by: [email protected] Owned by: sjmiles
Priority: high Milestone: 0.9
Component: HTML Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


dojo.html.getScroll(dojo.byId("someDiv")) - Return the scroll offsets of the element "someDiv" It makes most sense when the element has the style-property overflow set to either auto or scroll.

Attachments (1)

getScroll-for-node.patch (1.4 KB) - added by guest 16 years ago.

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by guest

Attachment: getScroll-for-node.patch added

comment:1 Changed 16 years ago by Tom Trenka

Milestone: 0.5
Owner: changed from Bryan Forbes to Tom Trenka
Summary: Allow parameter in: dojo.html.getScroll(node)[patch][cla] Allow parameter in: dojo.html.getScroll(node)

Making getScroll dual-purpose is a bad idea, but I will look at adding this in another place in dojo.html.

comment:2 Changed 15 years ago by Tom Trenka

Owner: changed from Tom Trenka to sjmiles

Re-assigning to Scott; he can make the decision of whether to incorporate this patch or not.

comment:3 Changed 15 years ago by sjmiles

Type: defectenhancement

comment:4 Changed 15 years ago by sjmiles

Resolution: wontfix
Status: newclosed

Agree with Tom about dual-purposing being bad. Also, relevance has declined in the fullness of time.

Note: See TracTickets for help on using tickets.