File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 7
7
.ui-keyboard-button-endrow { clear : left; }
8
8
.ui-keyboard-widekey { min-width : 4em ; width : auto; }
9
9
.ui-keyboard-space { width : 15em ; }
10
- .ui-keyboard-space span , .ui-keyboard-empty span { font : 0 / 0 a; text-shadow : none; color : transparent; } /* see http://nicolasgallagher.com/another-css-image-replacement-technique/ */
10
+ .ui-keyboard-space span , .ui-keyboard-empty span { text-shadow : none; color : transparent; } /* see http://nicolasgallagher.com/another-css-image-replacement-technique/ */
11
11
.ui-keyboard-preview-wrapper { text-align : center; }
12
12
.ui-keyboard-preview { text-align : left; margin : 0 0 3px 0 ; display : inline; width : 99% ;} /* width is calculated in IE, since 99% = 99% full browser width =( */
13
13
.ui-keyboard-keyset { text-align : center; white-space : nowrap; }
Original file line number Diff line number Diff line change @@ -512,6 +512,7 @@ function VirtualKeyboardWidget() {
512
512
KEY_BKSP = 'Bksp' ,
513
513
KEY_TAB = '\u21e5 Tab' ,
514
514
KEY_ENTER = 'Enter' ,
515
+ KEY_SPACE = ' ' ,
515
516
KEY_SHIFT = 'Shift' ,
516
517
KEY_UP = '\u21d1' ,
517
518
KEY_DOWN = '\u21d3' ,
@@ -523,6 +524,7 @@ function VirtualKeyboardWidget() {
523
524
labelToKeyMap [ KEY_BKSP ] = webdriver . Key . BACK_SPACE ;
524
525
labelToKeyMap [ KEY_TAB ] = webdriver . Key . TAB ;
525
526
labelToKeyMap [ KEY_ENTER ] = webdriver . Key . ENTER ;
527
+ labelToKeyMap [ KEY_SPACE ] = ' ' ;
526
528
labelToKeyMap [ KEY_SHIFT ] = webdriver . Key . SHIFT ;
527
529
labelToKeyMap [ KEY_UP ] = webdriver . Key . UP ;
528
530
labelToKeyMap [ KEY_DOWN ] = webdriver . Key . DOWN ;
@@ -559,7 +561,7 @@ function VirtualKeyboardWidget() {
559
561
'esc' : KEY_ESC ,
560
562
'bksp' : KEY_BKSP ,
561
563
'enter' : KEY_ENTER ,
562
- 'space' : ' ' ,
564
+ 'space' : KEY_SPACE ,
563
565
'up' : KEY_UP ,
564
566
'left' : KEY_LEFT ,
565
567
'right' : KEY_RIGHT ,
You can’t perform that action at this time.
0 commit comments