missing getAnonymousElementsByAttribute

UNCONFIRMED
Unassigned

Status

()

Core
XBL
--
enhancement
UNCONFIRMED
9 years ago
9 years ago

People

(Reporter: Comsultia, Ltd., Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/0.4.154.29 Safari/525.19
Build Identifier: 

Please add function getAnonymousElementsByAttribute to return nodeList

Reproducible: Always
Component: General → XUL
QA Contact: general → xptoolkit.widgets

Comment 1

9 years ago
I think getAnonymousElementByAttribute is intended to be used for attributes that act like local IDs.  If you want to be able to find multiple elements at once, why not use getElementsByAttribute?
Component: XUL → XBL
QA Contact: xptoolkit.widgets → xbl
(Reporter)

Comment 2

9 years ago
getElementsByAttribute( attrib, value ) is for example not prepared to use in binding or by walking tree from defined element like getAnonymousElementByAttribute(element, attrib, value)
You need to log in before you can comment on or make changes to this bug.