Allow ISimpleDOMNode style retrieval methods to be used on text nodes

RESOLVED FIXED

Status

()

Core
Disability Access APIs
RESOLVED FIXED
13 years ago
13 years ago

People

(Reporter: Aaron Leventhal, Assigned: Aaron Leventhal)

Tracking

({access})

Trunk
x86
Windows XP
access
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

13 years ago
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.
(Assignee)

Comment 1

13 years ago
(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.
(Assignee)

Comment 2

13 years ago
Created attachment 174187 [details] [diff] [review]
Use DOM parent for text node
Attachment #174187 - Flags: review?(pkwarren)

Updated

13 years ago
Attachment #174187 - Flags: review?(pkwarren) → review+
(Assignee)

Updated

13 years ago
Attachment #174187 - Flags: superreview?(jst)

Updated

13 years ago
Attachment #174187 - Flags: superreview?(jst) → superreview+
(Assignee)

Comment 3

13 years ago
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
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.