Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13977 closed bug (notabug)

jQuery.support.boxModel incorrectly removed in 1.10

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.1
Keywords: Cc:
Blocked by: Blocking:

Description

In regards to the ticket 13473:

Those involved with ticket 13473 appear to have confused $.support.boxModel with $.boxModel

jQuery.support.boxModel was NOT deprecated in v1.3

jQuery.boxModel is what was deprecated in v1.3... http://api.jquery.com/jQuery.boxModel/

The jQuery.support() function with the boxModel test was never deprecated, and is in fact the example used to show how one uses jQuery.support() in your own API Documentation!!! http://api.jquery.com/jQuery.support/

This needs to be corrected as jQuery.support.boxModel() is one of the new fallback methods developers are using to detect for old IE since jQuery.browser is now gone!!!

Now, in all browsers, jQuery.support.boxModel returns undefined.

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed

I've created a ticket to update the docs: https://github.com/jquery/api.jquery.com/issues/315

Developers can do their own checks of document.compatMode or document.documentMode just as easily as testing jQuery.support if needed.

Note: See TracTickets for help on using tickets.