Skip to main content

Bug Tracker

Side navigation

#7988 closed bug (invalid)

Opened January 17, 2011 11:41AM UTC

Closed January 17, 2011 12:23PM UTC

Last modified January 17, 2011 12:31PM UTC

Page Shrinking

Reported by: neil@cheshire-webdesign.net Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

I've found the weirdest bug - this page was previously working fine (for months), and still does work fine in all browsers except Chrome. However, when this page loads in Chrome the entire page shrinks until it's unreadable. I've checked on multiple versions of Chrome and it's the same, but it's a line of jQuery that causes the bug.

The page in question is: http://www.thechurchgreen.co.uk/menus.aspx

The line that causes the page to shrink is:

$('#menu_frame').load('/ChurchALC.htm');

I can comment that line out and the shrinking stops. I've spent hours trying to work this out and am getting precisely nowhere.

Can anyone help?!

Thanks,

Neil

Attachments (0)
Change History (2)

Changed January 17, 2011 12:23PM UTC by jitter comment:1

_comment0: Thanks for taking the time to contribute to the jQuery project by writing a bug report. \ \ This isn't a bug with jQuery but a bug in Chrome and specifically it's PDF handling. \ \ A quick gooling turned up \ \ - http://code.google.com/p/chromium/issues/detail?id=65395 \ - http://www.google.com/support/forum/p/Chrome/thread?tid=18507c44b0d1c7e8&hl=en \ - http://www.google.com/support/forum/p/Chrome/thread?tid=32a75548730b926a&hl=en&start=200 \ \ Hopefully one of the links I provided or some other page you can find by searching the chrome bug tracker and/or on google (hint: iframe chrome pdf zoom) will help you to find a fix/workaround for this.1295267347940480
resolution: → invalid
status: newclosed

Thanks for taking the time to contribute to the jQuery project by writing a bug report.

This isn't a jQuery bug but a bug in Chrome and specifically it's PDF viewer/handling. Btw. you can also trigger this behavior by opening http://jsfiddle.net/jitter/pcQrx/ (which just contains an iframe linking to a pdf. no javascript, no jquery).

A quick gooling turned up

Hopefully one of the links I provided or some other page you can find by searching the chrome bug tracker and/or on google (hint: iframe chrome pdf zoom) will help you to find a fix/workaround for this.

Changed January 17, 2011 12:31PM UTC by neil@cheshire-webdesign.net comment:2

Brilliant, thanks for your help. I'd just stumbled on this, so others at least might get to the source of the problem quicker: http://code.google.com/p/chromium/issues/detail?id=65395