Closed Bug 36592 Opened 24 years ago Closed 24 years ago

self-refering template broke

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: slamm, Assigned: waterson)

Details

Attachments

(1 file)

A have a box and a splitter that use a <menu>. That menu is filled out later in
the file. This worked yesterday.

<overlay>
  <box id="title-box">
    <menu id="panel-picker"/>
  </box>
  <splitter id="title-splitter">
    <menu id="panel-picker"/>
  </splitter>
  <menu id="panel-picker">
    ...
  </menu>
</overlay>
Hmm. I'm not aware of any XUL or RDF changes that went in yesterday, so I'm not 
sure why this would've broke. Is it really specific to Solaris?
It is not specific to Solaris. That just happens be where my browser is running
(so bugzilla picked it for me).

I will attach my sidebarOverlay.xul so you can take a look. It won't work
without the other files I have changed, but you can at least eye-ball it.
OS: Solaris → All
Hardware: Sun → All
It seems that only the last reference to "panel-picker" works. With both
references, the splitter reference works fine. If I take it out, then the one in
the box works.
Does my problem stem from using the same "id" twice?
Yes, you're probably right. I'm not sure what you meant by making all those 
id's be the same thing...
slamm: i think this bug is invalid...kick me if i'm wrong...
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Yep. IDs must be unique. vrfy.
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: