Skip to main content

Bug Tracker

Side navigation

#6071 closed bug (wontfix)

Opened February 10, 2010 10:21PM UTC

Closed February 10, 2010 10:34PM UTC

jQuery & Prototype Together Mess Up IE8 Widths

Reported by: bkrausz Owned by:
Priority: Milestone: 1.4.2
Component: dimensions Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:
Description

Steps to reproduce:

1) Use doctype: <!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> (doesn't occur with all doctypes).

2) Include jQuery noConflicted to a new var

3) Include Prototype

Widths all return document.width instead of element.width. This is an obscenely obscure case, but it may indicate something deeper with cleanup from noConflict, so I figured it's worth investigating.

http://nerdlife.net/jquery_width.html

Attachments (0)
Change History (2)

Changed February 10, 2010 10:25PM UTC by bkrausz comment:1

This is IE8 only, tested in FF & IE7

Changed February 10, 2010 10:34PM UTC by john comment:2

resolution: → wontfix
status: newclosed

It sounds like Prototype might be overwriting some important document or element property that's causing things to break. Have you reported this to the Prototype team? This is likely something that they would need to fix on their end.