Open
Bug 253147
Opened 21 years ago
Updated 3 years ago
Need ability to overlay elements with no id's (via xpath?)
Categories
(Core :: XUL, enhancement)
Core
XUL
Tracking
()
NEW
People
(Reporter: eyalroz1, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040721
Build Identifier:
XUL authors often neglect to set the id's of container elements, e.g.:
http://lxr.mozilla.org/seamonkey/source/mailnews/compose/prefs/resources/content/pref-composing_messages.xul
and overlay authors are unable to add elements to these containers without
resorting to writing event handlers or other such dirty tricks. One would expect
an attribute of currentposition="n" (i.e. modify the existing element in the
n'th position; this would not be like position="n" which means insert before the
existing element in the n'th position). On the face of it, not too difficult to
implement (after all, the position attribute already means there's some by-index
matching going on).
Reproducible: Always
Steps to Reproduce:
If someone ends up being gung-ho to do this, why not just use XPath?
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
![]() |
||
Comment 2•19 years ago
|
||
XPath-based overlaying would sound really nice to me...
Comment 3•19 years ago
|
||
Summary: [RFE] Need ability to reference elements with no id's from an overlay → Need ability to overlay elements with no id's (via xpath?)
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•