aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/selector.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/selector.js')
-rw-r--r--test/unit/selector.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js
index f6e977094..461339335 100644
--- a/test/unit/selector.js
+++ b/test/unit/selector.js
@@ -537,7 +537,7 @@ QUnit.test( "attributes - equals", function( assert ) {
assert.t( "Identifier with underscore", "input[id=types_all]", [ "types_all" ] );
assert.t( "String", "#qunit-fixture a[rel='bookmark']", [ "simon1" ] );
assert.t( "String (whitespace ignored)", "#qunit-fixture a[ rel = 'bookmark' ]", [ "simon1" ] );
- assert.t( "Non-identifier string", "#qunit-fixture a[href='http://www.google.com/']", [ "google" ] );
+ assert.t( "Non-identifier string", "#qunit-fixture a[href='https://www.google.com/']", [ "google" ] );
assert.t( "Empty string", "#select1 option[value='']", [ "option1a" ] );
if ( QUnit.jQuerySelectors ) {
@@ -592,7 +592,7 @@ QUnit[ QUnit.jQuerySelectors ? "test" : "skip" ]( "attributes - does not equal",
QUnit.test( "attributes - starts with", function( assert ) {
assert.expect( 4 );
- assert.t( "string (whitespace ignored)", "a[href ^= 'http://www']", [ "google", "yahoo" ] );
+ assert.t( "string (whitespace ignored)", "a[href ^= 'https://www']", [ "google", "yahoo" ] );
assert.t( "href starts with hash", "p a[href^='#']", [ "anchor2" ] );
assert.t( "string containing '['", "input[name^='foo[']", [ "hidden2" ] );
assert.t( "string containing '[' ... ']'", "input[name^='foo[bar]']", [ "hidden2" ] );
@@ -1014,7 +1014,7 @@ QUnit.test( "pseudo - misc", function( assert ) {
tmp.id = "tmp_input";
tmp.innerHTML = "<span>Hello I am focusable.</span>";
// Setting tabIndex should make the element focusable
- // http://dev.w3.org/html5/spec/single-page.html#focus-management
+ // https://html.spec.whatwg.org/#the-tabindex-attribute
document.body.appendChild( tmp );
tmp.tabIndex = 0;
tmp.focus();