Closed Bug 236061 Opened 20 years ago Closed 3 years ago

A XUL <menupopup> does not render <labels> (or any other content like HTML, SVG or MathML) in current selection

Categories

(Core :: XUL, defect)

defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: roland.mainz, Unassigned)

References

()

Details

A XUL <menupopup> does not render <labels> (or any other content like <html>,
SVG or MathML) in
current selection.

Steps to reproduce:
1. Create a XUL testcase (see attachment 142462 [details] or below) with a <menupopup>
which has <menuitems> and <labels> as the children.
2. View testcase

Result:
When the dropdown is open the single items are rendered correctly in the
dropdown but the selection remains blank (see attachment 142434 [details] for a
screenshot).

Expected result:
<menupopup> selection should be rendered properly in both open and closed state.

Testcase:
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  title="Testcase">

  <groupbox>
    <grid>
      <rows>
        <row align="center">
          <menulist id="printerList">
            <menupopup>
              <menuitem><label>item001</label></menuitem>
              <menuitem><label>item002</label></menuitem>
              <menuitem><label>item003</label></menuitem>
              <menuitem><label>item004</label></menuitem>
            </menupopup>
          </menulist>
        </row>
      </rows>
    </grid>
  </groupbox>
</dialog>
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
Assignee: hyatt → nobody
This is WFM using Mozilla/5.0 (Windows; Windows NT 5.1; en-US; rv:2.0b2pre) Gecko/20100716 Minefield/4.0b2pre

Close this issue as Resolved > Incomplete since the last real activity was 11 years ago and it might not be relevant anymore.
Feel free to re-open it if it's not the case and the issue is still relevant.

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