mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Docs: Fix various spelling mistakes
Closes gh-2487
This commit is contained in:
committed by
Michał Gołębiowski
parent
5fe76c663f
commit
360a478033
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
# This test page checkes CSP only for browsers with "Content-Security-Policy" header support
|
||||
# This test page checks CSP only for browsers with "Content-Security-Policy" header support
|
||||
# i.e. no old WebKit or old Firefox
|
||||
header("Content-Security-Policy: default-src 'self'; report-uri csp-log.php");
|
||||
?>
|
||||
|
||||
@@ -29,7 +29,7 @@ test("css(String|Hash)", function() {
|
||||
|
||||
equal( div2.find("input").css("height"), "20px", "Height on hidden input." );
|
||||
equal( div2.find("textarea").css("height"), "20px", "Height on hidden textarea." );
|
||||
equal( div2.find("div").css("height"), "20px", "Height on hidden textarea." );
|
||||
equal( div2.find("div").css("height"), "20px", "Height on hidden div." );
|
||||
|
||||
div2.remove();
|
||||
|
||||
|
||||
@@ -2725,7 +2725,7 @@ test( "Donor event interference", function( assert ) {
|
||||
jQuery( "#donor-input" )[ 0 ].click();
|
||||
} );
|
||||
|
||||
test( "originalEvent property for Chrome, Safari and FF of simualted event", function( assert ) {
|
||||
test( "originalEvent property for Chrome, Safari and FF of simulated event", function( assert ) {
|
||||
var userAgent = window.navigator.userAgent;
|
||||
|
||||
if ( !(/chrome/i.test( userAgent ) ||
|
||||
|
||||
@@ -498,7 +498,7 @@ test( "html(String) tag-hyphenated elements (Bug #1987)", function() {
|
||||
var j = jQuery("<tr-multiple-hyphens><td-with-hyphen>text</td-with-hyphen></tr-multiple-hyphens>");
|
||||
ok( jQuery.nodeName(j[0], "TR-MULTIPLE-HYPHENS"), "Tags with multiple hypens" );
|
||||
ok( jQuery.nodeName(j.children()[0], "TD-WITH-HYPHEN"), "Tags with multiple hypens" );
|
||||
equal( j.children().text(), "text", "Tags with multple hypens behave normally" );
|
||||
equal( j.children().text(), "text", "Tags with multiple hypens behave normally" );
|
||||
});
|
||||
|
||||
test( "IE8 serialization bug", function() {
|
||||
|
||||
@@ -289,7 +289,7 @@ test( "jQuery.Tween - custom propHooks - advanced values", function() {
|
||||
|
||||
// Some day this NaN assumption might change - perhaps add a "calc" helper to the hooks?
|
||||
ok( isNaN( tween.now ), "Used return value from propHook.get" );
|
||||
equal( tween.pos, 0.5, "But the eased percent is still avaliable" );
|
||||
equal( tween.pos, 0.5, "But the eased percent is still available" );
|
||||
ok( propHook.set.calledWith( tween ), "Called propHook.set function with correct parameters" );
|
||||
|
||||
delete jQuery.Tween.propHooks.testHooked;
|
||||
|
||||
Reference in New Issue
Block a user