The ISimpleDOMNode methods get_computedStyle() and get_computedStyleForProperties() only work on element nodes. However, this is not convenient for assistive technologies that wish to quickly get style information for a piece of text. The style methods should work on the text nodes just as the attribute retrieval methods do.
(In reply to comment #0) > The style methods should work on the text nodes just as the attribute retrieval > methods do. Actually I should not say the attribute retrieval methods work on it, since text nodes don't have attributes. However this is computed style we're talking about and the AT simply wants to know the results of the cascade for this text frame.
Created attachment 174187 [details] [diff] [review] Use DOM parent for text node
Enter passphrase for key '/home/aleventhal/.ssh/id_dsa': Checking in nsAccessNodeWrap.cpp; /cvsroot/mozilla/accessible/src/msaa/nsAccessNodeWrap.cpp,v <-- nsAccessNodeWrap.cpp new revision: 1.14; previous revision: 1.13 done