fix #1503 Correct fix for aria.utils.Dom.scrollIntoView issue on Chrome
fix #1503 Correct fix for aria.utils.Dom.scrollIntoView issue on Chrome

Commit f51a6a022421dbd8c86722e6e07631abf7690685 introduced a regression
for the following test case on Chrome, Edge and Safari:
test.aria.widgets.container.dialog.resize.test3.DialogOnResizeTestCase
This commit fixes the regression on Chrome and Safari.

close #1508

fcapa/aria,benouat/ariatemplates,simonarbuckle/ariatemplates,fcapa/aria,mlaval/ariatemplates,vcarle/ariatemplates,fbasso/ariatemplates,ymeine/ariatemplates,ariatemplates/ariatemplates,ariatemplates/ariatemplates,simonarbuckle/ariatemplates,mlaval/ariatemplates,vcarle/ariatemplates,ymeine/ariatemplates,fbasso/ariatemplates,fcapa/aria,divdavem/ariatemplates,benouat/ariatemplates,mlaval/ariatemplates,ymeine/ariatemplates,vcarle/ariatemplates,benouat/ariatemplates,ariatemplates/ariatemplates,divdavem/ariatemplates,fbasso/ariatemplates,divdavem/ariatemplates,simonarbuckle/ariatemplates