Skip to main content

Bug Tracker

Side navigation

#11873 closed bug (invalid)

Opened June 07, 2012 09:13AM UTC

Closed June 07, 2012 11:52AM UTC

Dimensions on Chrome

Reported by: Owned by:
Priority: low Milestone: None
Component: dimensions Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Have an iFrame that located into a website, and into the iFrame trying to get it's dimensions by use:

var dimensions = {

For FF (V.12) works fine but for Chrome (V.19.0.1084.52 m) it's not work like expected and return wrong dimensions.

Fixed if by removed your IE6 Fallback in your development-version file, line 9357, removed the following lines:

if ( doc[ clientProp ] >= doc[ scrollProp ] ) {
    return doc[ clientProp ];

And now it's working fine.


Attachments (0)
Change History (1)

Changed June 07, 2012 11:52AM UTC by sindresorhus comment:1

component: unfileddimensions
priority: undecidedlow
resolution: → invalid
status: newclosed

This was already removed:

Please include a jsfiddle test case the next time you post an issue. Thanks.