Closed Bug 282089 Opened 20 years ago Closed 20 years ago

Allow ISimpleDOMNode style retrieval methods to be used on text nodes

Categories

(Core :: Disability Access APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

(Keywords: access)

Attachments

(1 file)

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.
Attachment #174187 - Flags: review?(pkwarren)
Attachment #174187 - Flags: review?(pkwarren) → review+
Attachment #174187 - Flags: superreview?(jst)
Attachment #174187 - Flags: superreview?(jst) → superreview+
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
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: