Commit b30a469a authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fixed bug in testsuite, tried to fix problem with :selected in Opera 8.54: It...

Fixed bug in testsuite, tried to fix problem with :selected in Opera 8.54: It does not work the default selections
parent fac6a87d
......@@ -129,9 +129,10 @@ function isSet(a, b, msg) {
ret = false;
} else
ret = false;
if ( !ret && console )
console.log( msg, a, b );
Test.push( [ ret, msg ] );
if ( !ret )
Test.push( [ ret, msg + " expected: " + b + " result: " + a ] );
else
Test.push( [ ret, msg ] );
}
/**
......
......@@ -1565,7 +1565,7 @@ jQuery.extend({
enabled: "!a.disabled",
disabled: "a.disabled",
checked: "a.checked",
selected: "a.selected",
selected: "a.selected || jQuery.attr(a, 'selected')",
// Form elements
text: "a.type=='text'",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment