OSDN Git Service
(root)
/
nvdajp
/
nvdajp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f2376
)
webKit vbuf backend: Editable text fields seem to sometimes have children with no...
author
James Teh
<jamie@jantrid.net>
Tue, 6 Dec 2011 10:10:00 +0000
(20:10 +1000)
committer
James Teh
<jamie@jantrid.net>
Tue, 6 Dec 2011 10:10:00 +0000
(20:10 +1000)
nvdaHelper/vbufBackends/webKit/webKit.cpp
patch
|
blob
|
history
diff --git
a/nvdaHelper/vbufBackends/webKit/webKit.cpp
b/nvdaHelper/vbufBackends/webKit/webKit.cpp
index
54f00cf
..
e090ea4
100644
(file)
--- a/
nvdaHelper/vbufBackends/webKit/webKit.cpp
+++ b/
nvdaHelper/vbufBackends/webKit/webKit.cpp
@@
-135,7
+135,11
@@
VBufStorage_fieldNode_t* WebKitVBufBackend_t::fillVBuf(int docHandle, IAccessibl
\r
//Get the child count
\r
long childCount=0;
\r
- if(role==ROLE_SYSTEM_COMBOBOX||(role==ROLE_SYSTEM_LIST&&!(states&STATE_SYSTEM_READONLY))) {
\r
+ if (role == ROLE_SYSTEM_COMBOBOX
\r
+ || (role == ROLE_SYSTEM_LIST && !(states & STATE_SYSTEM_READONLY))
\r
+ // Editable text fields sometimes have children with no content.
\r
+ || (role == ROLE_SYSTEM_TEXT && states & STATE_SYSTEM_FOCUSABLE)
\r
+ ) {
\r
// We don't want this node's children.
\r
childCount=0;
\r
} else
\r