Opened 12 years ago

Closed 11 years ago

#2494 closed defect (wontfix)

dojo.html.getContentBox(dojo.body()) returns wrong size on IE7

Reported by: guest Owned by: sjmiles
Priority: high Milestone: 1.2
Component: HTML Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

Hi,

First of all, congratulations for your amazing work!

dojo.html.getContentBox(dojo.body()) in the case of a long scrolling page returns the size of the viewport and not of the actual page with IE7. Moreover, it includes the width of the scrolling bar.

Notice that it works perfectly fine on Firefox 2.0

--Eric

Change History (7)

comment:1 Changed 12 years ago by Adam Peller

Component: GeneralHTML
Owner: changed from anonymous to sjmiles

comment:2 Changed 12 years ago by bill

Milestone: 0.9

comment:3 Changed 12 years ago by sjmiles

Milestone: 0.91.0

comment:4 Changed 11 years ago by sjmiles

Milestone: 1.11.1.1

comment:5 Changed 11 years ago by Adam Peller

Description: modified (diff)
Priority: normalhigh

comment:6 Changed 11 years ago by bill

0.4 is effectively unsupported at this point (it's superseded by 0.9, 1.0, and 1.1). Does this happen on the latest code (with dojo.contentBox()) ?

comment:7 Changed 11 years ago by sjmiles

Resolution: wontfix
Status: newclosed

Simple review shows that dojo.contentBox(dojo.body()) returns the height of the page not the viewport.

Note: See TracTickets for help on using tickets.