@@ -180,7 +180,7 @@ const testBaselineOffset = function($labelContainer, $valueContainer) {
180180 $imgForInput = $ ( '<img/>' ) . height ( 1 ) . width ( 1 ) . appendTo ( $valueContainer ) ;
181181 $imgForLabel . closest ( '.dx-field-label' ) . css ( 'whiteSpace' , 'nowrap' ) ;
182182 $imgForInput . closest ( '.dx-field-value' ) . css ( 'whiteSpace' , 'nowrap' ) ;
183- QUnit . assert . roughEqual ( $imgForLabel . offset ( ) . top , $imgForInput . offset ( ) . top , 0 .99) ;
183+ QUnit . assert . roughEqual ( $imgForLabel . offset ( ) . top , $imgForInput . offset ( ) . top , 1 .99) ;
184184 } finally {
185185 $imgForLabel . remove ( ) ;
186186 $imgForInput . remove ( ) ;
@@ -368,19 +368,19 @@ module.exports = function(themeName, options) {
368368 } ) ;
369369
370370 QUnit . test ( 'dxTextbox on Field' , function ( assert ) {
371- testVerticalAlign ( $ ( '#textboxOnField' ) , VALUE , false , options . testVerticalOffset ) ;
371+ testVerticalAlign ( $ ( '#textboxOnField' ) , VALUE + ' input' , false , options . testVerticalOffset ) ;
372372 } ) ;
373373
374374 QUnit . test ( 'dxTextbox in Field' , function ( assert ) {
375- testVerticalAlign ( $ ( '#textboxInField' ) , VALUE , false , options . testVerticalOffset ) ;
375+ testVerticalAlign ( $ ( '#textboxInField' ) , VALUE + ' input' , false , options . testVerticalOffset ) ;
376376 } ) ;
377377
378378 QUnit . test ( 'dxAutocomplete on Field' , function ( assert ) {
379- testVerticalAlign ( $ ( '#autocompleteOnField' ) , VALUE , false , options . testVerticalOffset ) ;
379+ testVerticalAlign ( $ ( '#autocompleteOnField' ) , VALUE + ' input.dx-texteditor-input' , false , options . testVerticalOffset ) ;
380380 } ) ;
381381
382382 QUnit . test ( 'dxAutocomplete in Field' , function ( assert ) {
383- testVerticalAlign ( $ ( '#autocompleteInField' ) , VALUE , false , options . testVerticalOffset ) ;
383+ testVerticalAlign ( $ ( '#autocompleteInField' ) , VALUE + ' input.dx-texteditor-input' , false , options . testVerticalOffset ) ;
384384 } ) ;
385385
386386 QUnit . test ( 'simpleText on Field' , function ( assert ) {
@@ -392,11 +392,11 @@ module.exports = function(themeName, options) {
392392 } ) ;
393393
394394 QUnit . test ( 'dxNumberbox on Field' , function ( assert ) {
395- testVerticalAlign ( $ ( '#numberboxOnField' ) , VALUE , false , options . testVerticalOffset ) ;
395+ testVerticalAlign ( $ ( '#numberboxOnField' ) , VALUE + ' input.dx-texteditor-input' , false , options . testVerticalOffset ) ;
396396 } ) ;
397397
398398 QUnit . test ( 'dxNumberbox in Field' , function ( assert ) {
399- testVerticalAlign ( $ ( '#numberboxInField' ) , VALUE , false , options . testVerticalOffset ) ;
399+ testVerticalAlign ( $ ( '#numberboxInField' ) , VALUE + ' input.dx-texteditor-input' , false , options . testVerticalOffset ) ;
400400 } ) ;
401401
402402 QUnit . test ( 'dxTextarea on Field' , function ( assert ) {
0 commit comments