Closed
Bug 454211
Opened 16 years ago
Closed 16 years ago
ISimpleDOMNode functions get_computedStyleForProperties and get_computedStyle functions appear to always return the COM error code 0x80004005 (E_FAIL)
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: MarcoZ, Assigned: surkov)
References
Details
(Keywords: access, verified1.9.0.5, Whiteboard: [needs baking])
Attachments
(2 files, 1 obsolete file)
11.80 KB,
patch
|
aaronlev
:
review+
dveditz
:
approval1.9.0.5+
|
Details | Diff | Splinter Review |
13.58 KB,
patch
|
Details | Diff | Splinter Review |
Report from GWMicro with both Firefox 3.0.1 and 3.0.3pre.
Flags: blocking1.9.0.3?
Assignee | ||
Comment 1•16 years ago
|
||
It will return E_FAIL on text nodes, on document. Otherwise it should be ok. How can I test this?
Assignee | ||
Comment 2•16 years ago
|
||
previously it worked on text nodes as well (but the current behaviour is from bug 275010, 2006-07-24).
Comment 3•16 years ago
|
||
This is a problem for us because our just released version won't be able to reflect the new definition of needing to consult the parent of text. We use this method to give our users access to the character attributes of text such as point size, character weight, color etc. I was hoping that the new features of Firefox 3 wouldn't cause loss of functionality to our accessibility code. If the parent always has the correct information, is it difficult to notice that the call is on the text node case and forward the request to the parent?
Assignee | ||
Comment 4•16 years ago
|
||
Will, of course it's not difficult. The main thing I concern if the problem is these methods fail on text nodes, no more. That's I was need to know. Thanks.
Assignee: nobody → surkov.alexander
Assignee | ||
Comment 5•16 years ago
|
||
Attachment #339019 -
Flags: review?(aaronleventhal)
Assignee | ||
Updated•16 years ago
|
Attachment #339019 -
Flags: review?(marco.zehe)
Reporter | ||
Comment 6•16 years ago
|
||
Comment on attachment 339019 [details] [diff] [review] patch >+ // text child of html:span element >+ acc = acc.firstChild.QueryInterface(nsIAccessNode); Nit: Please protect against possible exceptions here. With that, r=me for the test.
Attachment #339019 -
Flags: review?(marco.zehe) → review+
Assignee | ||
Comment 7•16 years ago
|
||
with Marco's comment
Attachment #339019 -
Attachment is obsolete: true
Attachment #339021 -
Flags: review?(aaronleventhal)
Attachment #339019 -
Flags: review?(aaronleventhal)
Updated•16 years ago
|
Attachment #339021 -
Flags: review?(aaronleventhal) → review+
Reporter | ||
Comment 8•16 years ago
|
||
Comment on attachment 339021 [details] [diff] [review] patch2 One more thing: Could you replace the hardcoded RGB value you compare against with the computed style as shown in accessible/tests/mochitest/test_textattrs.html?
Assignee | ||
Comment 10•16 years ago
|
||
checked in http://hg.mozilla.org/mozilla-central/rev/b5596b42ca9a
Flags: in-testsuite+
Assignee | ||
Comment 11•16 years ago
|
||
Comment on attachment 339021 [details] [diff] [review] patch2 needed to improve firefox compatibility with screen readers, it's a regression, includes mochitest
Attachment #339021 -
Flags: approval1.9.0.3?
Comment 12•16 years ago
|
||
Not "blocking" a branch release but we'll look at the patch. This appears to be fixed in mozilla-central, marking FIXED. (for branch we use keywords, or clone bugs).
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: blocking1.9.0.4? → blocking1.9.0.4-
Resolution: --- → FIXED
Updated•16 years ago
|
Whiteboard: [needs baking]
Updated•16 years ago
|
Attachment #339021 -
Flags: approval1.9.0.4? → approval1.9.0.5?
Comment 13•16 years ago
|
||
Comment on attachment 339021 [details] [diff] [review] patch2 we need to bring in the 3.0.4 schedule, bumping to next release. I'm not sure we're going to be comfortable taking accessibility changes on the stable branch when 3.1 is going to be available soon.
Comment 14•16 years ago
|
||
Comment on attachment 339021 [details] [diff] [review] patch2 Approved for 1.9.0.5, a=dveditz for release-drivers
Attachment #339021 -
Flags: approval1.9.0.5? → approval1.9.0.5+
Reporter | ||
Comment 15•16 years ago
|
||
Checking in accessible/src/base/nsAccessNode.cpp; /cvsroot/mozilla/accessible/src/base/nsAccessNode.cpp,v <-- nsAccessNode.cpp new revision: 1.81; previous revision: 1.80 done Checking in accessible/src/base/nsAccessNode.h; /cvsroot/mozilla/accessible/src/base/nsAccessNode.h,v <-- nsAccessNode.h new revision: 1.50; previous revision: 1.49 done Checking in accessible/src/base/nsAccessibilityUtils.cpp; /cvsroot/mozilla/accessible/src/base/nsAccessibilityUtils.cpp,v <-- nsAccessibilityUtils.cpp new revision: 1.34; previous revision: 1.33 done Checking in accessible/src/base/nsAccessibilityUtils.h; /cvsroot/mozilla/accessible/src/base/nsAccessibilityUtils.h,v <-- nsAccessibilityUtils.h new revision: 1.27; previous revision: 1.26 done Checking in accessible/src/html/nsHTMLTableAccessible.cpp; /cvsroot/mozilla/accessible/src/html/nsHTMLTableAccessible.cpp,v <-- nsHTMLTableAccessible.cpp new revision: 1.66; previous revision: 1.65 done Checking in accessible/src/msaa/nsAccessNodeWrap.cpp; /cvsroot/mozilla/accessible/src/msaa/nsAccessNodeWrap.cpp,v <-- nsAccessNodeWrap.cpp new revision: 1.46; previous revision: 1.45 done Checking in accessible/tests/mochitest/Makefile.in; /cvsroot/mozilla/accessible/tests/mochitest/Makefile.in,v <-- Makefile.in new revision: 1.24; previous revision: 1.23 done RCS file: /cvsroot/mozilla/accessible/tests/mochitest/test_nsIAccessNode_utils.html,v done Checking in accessible/tests/mochitest/test_nsIAccessNode_utils.html; /cvsroot/mozilla/accessible/tests/mochitest/test_nsIAccessNode_utils.html,v <-- test_nsIAccessNode_utils.html initial revision: 1.1 done
Keywords: fixed1.9.0.5
Reporter | ||
Comment 16•16 years ago
|
||
I had to port nsCoreUtils::GetDomElementFor to nsAccUtils::GetDomElementFor to get this patch to compile under 1.9.0.5. This patch is being attached for informational purposes.
Reporter | ||
Comment 17•16 years ago
|
||
Verified fixed on 1.9.0 branch using Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Keywords: fixed1.9.0.5 → verified1.9.0.5
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•