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
935df49d
Commit
935df49d
authored
Mar 03, 2012
by
Mike Sherov
Committed by
Dave Methvin
Mar 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Followup for #7986 to fix a botched merge.
Okay, Jenkins, you were right this time.
parent
92cd9990
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
support.js
src/support.js
+2
-7
No files found.
src/support.js
View file @
935df49d
...
@@ -94,8 +94,8 @@ jQuery.support = (function() {
...
@@ -94,8 +94,8 @@ jQuery.support = (function() {
pixelMargin
:
true
pixelMargin
:
true
};
};
//jQuery.boxModel DEPRECATED in 1.3, use jQuery.support.boxModel instead
//
jQuery.boxModel DEPRECATED in 1.3, use jQuery.support.boxModel instead
jQuery
.
boxModel
=
support
.
boxModel
=
document
.
compatMode
===
"CSS1Compat"
;
jQuery
.
boxModel
=
support
.
boxModel
=
(
document
.
compatMode
===
"CSS1Compat"
)
;
// Make sure checked status is properly cloned
// Make sure checked status is properly cloned
input
.
checked
=
true
;
input
.
checked
=
true
;
...
@@ -239,11 +239,6 @@ jQuery.support = (function() {
...
@@ -239,11 +239,6 @@ jQuery.support = (function() {
(
parseInt
(
(
window
.
getComputedStyle
(
marginDiv
,
null
)
||
{
marginRight
:
0
}
).
marginRight
,
10
)
||
0
)
===
0
;
(
parseInt
(
(
window
.
getComputedStyle
(
marginDiv
,
null
)
||
{
marginRight
:
0
}
).
marginRight
,
10
)
||
0
)
===
0
;
}
}
// Figure out if the W3C box model works as expected
div
.
innerHTML
=
""
;
div
.
style
.
width
=
div
.
style
.
paddingLeft
=
"1px"
;
jQuery
.
boxModel
=
support
.
boxModel
=
div
.
offsetWidth
===
2
;
if
(
typeof
div
.
style
.
zoom
!==
"undefined"
)
{
if
(
typeof
div
.
style
.
zoom
!==
"undefined"
)
{
// Check if natively block-level elements act like inline-block
// Check if natively block-level elements act like inline-block
// elements when setting their display to 'inline' and giving
// elements when setting their display to 'inline' and giving
...
...
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