Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
1233fc77
Commit
1233fc77
authored
Apr 07, 2013
by
Michał Gołębiowski
Committed by
Dave Methvin
Apr 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ref #13743. Remove support.boxModel, deprecated 1.3. Close gh-1230.
parent
eaedf098
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
support.js
src/support.js
+0
-3
support.js
test/unit/support.js
+0
-12
No files found.
src/support.js
View file @
1233fc77
...
@@ -20,9 +20,6 @@ jQuery.support = (function( support ) {
...
@@ -20,9 +20,6 @@ jQuery.support = (function( support ) {
// Support: IE9, IE10
// Support: IE9, IE10
support
.
optSelected
=
opt
.
selected
;
support
.
optSelected
=
opt
.
selected
;
// jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode
support
.
boxModel
=
document
.
compatMode
===
"CSS1Compat"
;
// Will be defined later
// Will be defined later
support
.
reliableMarginRight
=
true
;
support
.
reliableMarginRight
=
true
;
support
.
boxSizingReliable
=
true
;
support
.
boxSizingReliable
=
true
;
...
...
test/unit/support.js
View file @
1233fc77
module
(
"support"
,
{
teardown
:
moduleTeardown
});
module
(
"support"
,
{
teardown
:
moduleTeardown
});
test
(
"boxModel"
,
function
()
{
expect
(
1
);
equal
(
jQuery
.
support
.
boxModel
,
document
.
compatMode
===
"CSS1Compat"
,
"jQuery.support.boxModel is sort of tied to quirks mode but unstable since 1.8"
);
});
if
(
jQuery
.
css
)
{
if
(
jQuery
.
css
)
{
testIframeWithCallback
(
"body background is not lost if set prior to loading jQuery (#9239)"
,
"support/bodyBackground.html"
,
function
(
color
,
support
)
{
testIframeWithCallback
(
"body background is not lost if set prior to loading jQuery (#9239)"
,
"support/bodyBackground.html"
,
function
(
color
,
support
)
{
expect
(
2
);
expect
(
2
);
...
@@ -48,7 +42,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
...
@@ -48,7 +42,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked"
:
true
,
"noCloneChecked"
:
true
,
"radioValue"
:
true
,
"radioValue"
:
true
,
"checkClone"
:
true
,
"checkClone"
:
true
,
"boxModel"
:
true
,
"ajax"
:
true
,
"ajax"
:
true
,
"cors"
:
true
,
"cors"
:
true
,
"clearCloneStyle"
:
true
,
"clearCloneStyle"
:
true
,
...
@@ -66,7 +59,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
...
@@ -66,7 +59,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked"
:
true
,
"noCloneChecked"
:
true
,
"radioValue"
:
false
,
"radioValue"
:
false
,
"checkClone"
:
true
,
"checkClone"
:
true
,
"boxModel"
:
true
,
"ajax"
:
true
,
"ajax"
:
true
,
"cors"
:
true
,
"cors"
:
true
,
"clearCloneStyle"
:
true
,
"clearCloneStyle"
:
true
,
...
@@ -84,7 +76,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
...
@@ -84,7 +76,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked"
:
false
,
"noCloneChecked"
:
false
,
"radioValue"
:
false
,
"radioValue"
:
false
,
"checkClone"
:
true
,
"checkClone"
:
true
,
"boxModel"
:
true
,
"ajax"
:
true
,
"ajax"
:
true
,
"cors"
:
true
,
"cors"
:
true
,
"clearCloneStyle"
:
false
,
"clearCloneStyle"
:
false
,
...
@@ -102,7 +93,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
...
@@ -102,7 +93,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked"
:
false
,
"noCloneChecked"
:
false
,
"radioValue"
:
false
,
"radioValue"
:
false
,
"checkClone"
:
true
,
"checkClone"
:
true
,
"boxModel"
:
true
,
"ajax"
:
true
,
"ajax"
:
true
,
"cors"
:
false
,
"cors"
:
false
,
"clearCloneStyle"
:
false
,
"clearCloneStyle"
:
false
,
...
@@ -120,7 +110,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
...
@@ -120,7 +110,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked"
:
true
,
"noCloneChecked"
:
true
,
"radioValue"
:
true
,
"radioValue"
:
true
,
"checkClone"
:
false
,
"checkClone"
:
false
,
"boxModel"
:
true
,
"ajax"
:
true
,
"ajax"
:
true
,
"cors"
:
true
,
"cors"
:
true
,
"clearCloneStyle"
:
true
,
"clearCloneStyle"
:
true
,
...
@@ -138,7 +127,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
...
@@ -138,7 +127,6 @@ testIframeWithCallback( "box-sizing does not affect jQuery.support.shrinkWrapBlo
"noCloneChecked"
:
true
,
"noCloneChecked"
:
true
,
"radioValue"
:
true
,
"radioValue"
:
true
,
"checkClone"
:
true
,
"checkClone"
:
true
,
"boxModel"
:
true
,
"ajax"
:
true
,
"ajax"
:
true
,
"cors"
:
true
,
"cors"
:
true
,
"clearCloneStyle"
:
true
,
"clearCloneStyle"
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment