[Nvda-dev] commit r3434 - trunk/source/NVDAObjects/IAccessible
NVDA Subversion
svn at nvda-project.org
Thu Dec 10 03:21:09 UTC 2009
Author: bzr
Date: Thu Dec 10 03:21:05 2009
New Revision: 3434
Log:
MSHTML NVDAObject's states property: if the editable state is present, do not allow the readonly state. IE sometimes provides the readonly state when the node is editable, this does not make sence. This solves an issue wwhere pressing enter inside an editable document in an MSHTML virtualBuffer would not switch to focus mode.
Modified:
trunk/source/NVDAObjects/IAccessible/MSHTML.py
Modified: trunk/source/NVDAObjects/IAccessible/MSHTML.py
==============================================================================
--- trunk/source/NVDAObjects/IAccessible/MSHTML.py (original)
+++ trunk/source/NVDAObjects/IAccessible/MSHTML.py Thu Dec 10 03:21:05 2009
@@ -425,6 +425,7 @@
isContentEditable=False
if isContentEditable:
states.add(controlTypes.STATE_EDITABLE)
+ states.discard(controlTypes.STATE_READONLY)
nodeName=self.HTMLNodeName
if nodeName=="TEXTAREA":
states.add(controlTypes.STATE_MULTILINE)
More information about the Nvda-dev
mailing list