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
6f7cd669
Commit
6f7cd669
authored
Oct 17, 2006
by
Brandon Aaron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added tests for 193 and 170.
Removed unused line of code from fx.
parent
688c724b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
33 deletions
+48
-33
index.html
build/test/index.html
+32
-31
fx.js
src/fx/fx.js
+0
-2
jquery.js
src/jquery/jquery.js
+16
-0
No files found.
build/test/index.html
View file @
6f7cd669
...
@@ -71,6 +71,7 @@
...
@@ -71,6 +71,7 @@
<option
id=
"option3d"
value=
"3"
>
3
</option>
<option
id=
"option3d"
value=
"3"
>
3
</option>
</select>
</select>
</form>
</form>
<p
id=
"floatTest"
>
Float test.
</div>
</div>
</div>
</dl>
</dl>
...
...
src/fx/fx.js
View file @
6f7cd669
...
@@ -493,8 +493,6 @@ jQuery.extend({
...
@@ -493,8 +493,6 @@ jQuery.extend({
// Remember where we started, so that we can go back to it later
// Remember where we started, so that we can go back to it later
z
.
el
.
orig
[
prop
]
=
this
.
cur
();
z
.
el
.
orig
[
prop
]
=
this
.
cur
();
var
start
=
z
.
el
.
orig
[
prop
];
// Begin the animation
// Begin the animation
z
.
custom
(
0
,
z
.
el
.
orig
[
prop
]);
z
.
custom
(
0
,
z
.
el
.
orig
[
prop
]);
...
...
src/jquery/jquery.js
View file @
6f7cd669
...
@@ -534,6 +534,14 @@ jQuery.fn = jQuery.prototype = {
...
@@ -534,6 +534,14 @@ jQuery.fn = jQuery.prototype = {
* ok( !$('#foo').is(':visible'), 'Modified CSS display: Assert element is hidden');
* ok( !$('#foo').is(':visible'), 'Modified CSS display: Assert element is hidden');
* $('#foo').css({display: 'block'});
* $('#foo').css({display: 'block'});
* ok( $('#foo').is(':visible'), 'Modified CSS display: Assert element is visible');
* ok( $('#foo').is(':visible'), 'Modified CSS display: Assert element is visible');
* $('#floatTest').css({styleFloat: 'right'});
* ok( $('#floatTest').css('styleFloat') == 'right', 'Modified CSS float using "styleFloat": Assert float is right');
* $('#floatTest').css({cssFloat: 'left'});
* ok( $('#floatTest').css('cssFloat') == 'left', 'Modified CSS float using "cssFloat": Assert float is left');
* $('#floatTest').css({'float': 'right'});
* ok( $('#floatTest').css('cssFloat') == 'right', 'Modified CSS float using "cssFloat": Assert float is right');
* $('#floatTest').css({'font-size': '30px'});
* ok( $('#floatTest').css('font-size') == '30px', 'Modified CSS font-size: Assert font-size is 30px');
*
*
* @name css
* @name css
* @type jQuery
* @type jQuery
...
@@ -555,6 +563,14 @@ jQuery.fn = jQuery.prototype = {
...
@@ -555,6 +563,14 @@ jQuery.fn = jQuery.prototype = {
* ok( !$('#foo').is(':visible'), 'Modified CSS display: Assert element is hidden');
* ok( !$('#foo').is(':visible'), 'Modified CSS display: Assert element is hidden');
* $('#foo').css('display', 'block');
* $('#foo').css('display', 'block');
* ok( $('#foo').is(':visible'), 'Modified CSS display: Assert element is visible');
* ok( $('#foo').is(':visible'), 'Modified CSS display: Assert element is visible');
* $('#floatTest').css('styleFloat', 'left');
* ok( $('#floatTest').css('styleFloat') == 'left', 'Modified CSS float using "styleFloat": Assert float is left');
* $('#floatTest').css('cssFloat', 'right');
* ok( $('#floatTest').css('cssFloat') == 'right', 'Modified CSS float using "cssFloat": Assert float is right');
* $('#floatTest').css('float', 'left');
* ok( $('#floatTest').css('cssFloat') == 'left', 'Modified CSS float using "cssFloat": Assert float is left');
* $('#floatTest').css('font-size', '20px');
* ok( $('#floatTest').css('font-size') == '20px', 'Modified CSS font-size: Assert font-size is 20px');
*
*
* @name css
* @name css
* @type jQuery
* @type jQuery
...
...
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