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
9bd9d270
Commit
9bd9d270
authored
Jan 10, 2011
by
rwldrn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespace fixes in unit tests
parent
8099cdce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
css.js
test/unit/css.js
+18
-18
No files found.
test/unit/css.js
View file @
9bd9d270
...
@@ -322,23 +322,23 @@ test(":visible selector works properly on children with a hidden parent (bug #45
...
@@ -322,23 +322,23 @@ test(":visible selector works properly on children with a hidden parent (bug #45
});
});
test
(
"internal ref to elem.runtimeStyle (bug #7608)"
,
function
()
{
test
(
"internal ref to elem.runtimeStyle (bug #7608)"
,
function
()
{
expect
(
1
);
expect
(
1
);
var
result
=
true
,
var
result
=
true
,
val
=
10
;
val
=
10
;
jQuery
(
'<div id="bug7608" style="width:200px;border:solid 1px red;">'
+
jQuery
(
'<div id="bug7608" style="width:200px;border:solid 1px red;">'
+
'<div id="test" style="width:0%; background:#000;"> </div></div>'
).
appendTo
(
"
body
"
);
'<div id="test" style="width:0%; background:#000;"> </div></div>'
).
appendTo
(
"
#main
"
);
try
{
try
{
// the bug is located within src/css.js
// the bug is located within src/css.js
jQuery
(
"#bug7608 #test"
).
animate
(
{
width
:
val
},
1000
);
jQuery
(
"#bug7608 #test"
).
animate
(
{
width
:
val
},
1000
);
}
catch
(
e
)
{
}
catch
(
e
)
{
result
=
false
;
result
=
false
;
}
}
ok
(
result
,
"elem.runtimeStyle does not throw exception"
);
ok
(
result
,
"elem.runtimeStyle does not throw exception"
);
jQuery
(
"#bug7608"
).
remove
();
jQuery
(
"#bug7608"
).
remove
();
});
});
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