Bug Tracker

Ticket #3960 (closed enhancement: invalid)

Opened 6 years ago

Last modified 5 years ago

Additional $.support property to detect IE6

Reported by: emartin24 Owned by:
Priority: major Milestone: 1.3.2
Component: support Version: 1.3.1
Keywords: ie6 maxHeight Cc:
Blocking: Blocked by:

Description

In order to transition away from $.browser to $.support, people are going to want/need something to help identify IE6.

After a bit of research, I found one property that seems to work: elem.style.maxHeight. IE6 returns undefined.

I'm adding a patch to support.js - please let me know if you think this would work. I tested in IE6 & 7, Firefox 2 & 3, Opera 9.5 & 9.6 and Safari 3.

Usage:

if (!$.support.maxHeight) {
	// do ie6 stuff
}

Attachments

maxheight.patch Download (439 bytes) - added by emartin24 6 years ago.
patch for $.support enhancement

Change History

Changed 6 years ago by emartin24

patch for $.support enhancement

comment:1 Changed 6 years ago by emartin24

Turned out to be a misguided approach - please close (unless someone really needs to know about maxHeight ;) ).

comment:2 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.