aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/css.js
diff options
context:
space:
mode:
authorDimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-06-28 00:29:29 +0200
committerGitHub <noreply@github.com>2023-06-28 00:29:29 +0200
commit620870a1af5287d29c77ec6d5f973116b23793a7 (patch)
tree6df0127f1aa954c76841eb6103e15d2f814e99bc /test/unit/css.js
parent5701957b7223659c52a43f8c2c5465fdf2803df4 (diff)
downloadjquery-620870a1af5287d29c77ec6d5f973116b23793a7.tar.gz
jquery-620870a1af5287d29c77ec6d5f973116b23793a7.zip
Docs: Fix typos found by codespell
Closes gh-5165
Diffstat (limited to 'test/unit/css.js')
-rw-r--r--test/unit/css.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/css.js b/test/unit/css.js
index e4a11175f..7ba147a5e 100644
--- a/test/unit/css.js
+++ b/test/unit/css.js
@@ -1409,13 +1409,13 @@ QUnit.testUnlessIE( "css('width') and css('height') should return fractional val
"css('height') should return fractional values" );
} );
-QUnit.test( "certain css values of 'normal' should be convertable to a number, see trac-8627", function( assert ) {
+QUnit.test( "certain css values of 'normal' should be convertible to a number, see trac-8627", function( assert ) {
assert.expect( 3 );
var el = jQuery( "<div style='letter-spacing:normal;font-weight:normal;'>test</div>" ).appendTo( "#qunit-fixture" );
- assert.ok( !isNaN( parseFloat( el.css( "letterSpacing" ) ) ), "css('letterSpacing') not convertable to number, see trac-8627" );
- assert.ok( !isNaN( parseFloat( el.css( "fontWeight" ) ) ), "css('fontWeight') not convertable to number, see trac-8627" );
+ assert.ok( !isNaN( parseFloat( el.css( "letterSpacing" ) ) ), "css('letterSpacing') not convertible to number, see trac-8627" );
+ assert.ok( !isNaN( parseFloat( el.css( "fontWeight" ) ) ), "css('fontWeight') not convertible to number, see trac-8627" );
assert.equal( typeof el.css( "fontWeight" ), "string", ".css() returns a string" );
} );