mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 21:37:37 -05:00
Inline the boxModel test, and correct unit test. Closes gh-781.
This commit is contained in:
committed by
Dave Methvin
parent
d12e9b289e
commit
0a2f93e6df
@@ -82,6 +82,9 @@ jQuery.support = (function() {
|
||||
// Where outerHTML is undefined, this still works
|
||||
html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav></:nav>",
|
||||
|
||||
// jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode
|
||||
boxModel: (document.compatMode === "CSS1Compat"),
|
||||
|
||||
// Will be defined later
|
||||
submitBubbles: true,
|
||||
changeBubbles: true,
|
||||
@@ -95,9 +98,6 @@ jQuery.support = (function() {
|
||||
boxSizingReliable: true
|
||||
};
|
||||
|
||||
// jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode
|
||||
support.boxModel = (document.compatMode === "CSS1Compat");
|
||||
|
||||
// Make sure checked status is properly cloned
|
||||
input.checked = true;
|
||||
support.noCloneChecked = input.cloneNode( true ).checked;
|
||||
|
||||
Reference in New Issue
Block a user