mirror of
https://github.com/servo/servo.git
synced 2025-08-27 08:08:19 +01:00
Update web-platform-tests to revision 5e3ea8f49fee68c327388bfd1dd1375a8ce12a0e.
This commit is contained in:
parent
12195a5c4a
commit
bfb96b9448
1166 changed files with 35123 additions and 900 deletions
|
@ -20,7 +20,6 @@ var Aria = {
|
|||
Aria.Tree = Class.create();
|
||||
Aria.Tree.prototype = {
|
||||
initialize: function(inNode){
|
||||
if(!$(inNode) && console.error) console.error('Error from aria.js: Aria.Tree instance initialized with invalid element, '+ inNode);
|
||||
this.el = $(inNode);
|
||||
this.index = Aria.Trees.length; // each tree should know its index in the Aria singleton's list, in order to concatenate id strings
|
||||
this.strActiveDescendant = this.el.getAttribute('aria-activedescendant');
|
||||
|
@ -112,8 +111,7 @@ Aria.Tree.prototype = {
|
|||
case Event.KEY_UP: this.keyUp(); break;
|
||||
case Event.KEY_RIGHT: this.keyRight(); break;
|
||||
case Event.KEY_DOWN: this.keyDown(); break;
|
||||
default:
|
||||
//console.log(inEvent.keyCode);
|
||||
default:
|
||||
return;
|
||||
}
|
||||
Event.stop(inEvent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue