OSDN Git Service

NVDAObjects.IAccessible.MSHTML.locateHTMLNodeByID: use document.getElementsByName...
authorMichael Curran <mick@kulgan.net>
Tue, 21 Sep 2010 01:41:35 +0000 (11:41 +1000)
committerJames Teh <jamie@jantrid.net>
Tue, 21 Sep 2010 01:41:35 +0000 (11:41 +1000)
commit38f108c73262b2d8b168af5d78d4068474f1aed2
tree984c10dd524d1bd2e81f05c10f1a8a44dd77427b
parenta98505ab38cec980f73c4019446fce7a38a4f8a6
NVDAObjects.IAccessible.MSHTML.locateHTMLNodeByID: use document.getElementsByName rather than document.getElementById as getElementById in Internet Explorer 9 does not support auto-generated IDs such as ms__idX, where as getElementsByName, in all versions seems to support this ok. This change allows NVDA to properly track objects in Internet Explorer 9 virtualBuffers -- links etc can now be activated, the focus will track the virtualBuffer caret etc.
source/NVDAObjects/IAccessible/MSHTML.py