Opened 13 years ago

Closed 12 years ago

#1625 closed enhancement (wontfix)

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

Reported by: wolfram.kriesing@… Owned by: sjmiles
Priority: high Milestone: 0.9
Component: HTML Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

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 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by guest

Attachment: getScroll-for-node.patch added

comment:1 Changed 13 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 12 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 12 years ago by sjmiles

Type: defectenhancement

comment:4 Changed 12 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.