Closed Bug 468603 Opened 16 years ago Closed 5 years ago

missing getAnonymousElementsByAttribute

Categories

(Core :: XBL, enhancement)

x86
Windows Vista
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: open, Unassigned)

Details

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
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
getElementsByAttribute( attrib, value ) is for example not prepared to use in binding or by walking tree from defined element like getAnonymousElementByAttribute(element, attrib, value)

XBL is now disabled in Firefox (Bug 1583314) and is in the process of being removed from Gecko (Bug 1566221), so closing bugs requesting changes to its implementation as wontfix.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.