bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

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

NEW
Unassigned

Status

()

Core
XUL
--
major
15 years ago
8 years ago

People

(Reporter: Roland Mainz, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

15 years ago
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>

Updated

10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets

Updated

9 years ago
Assignee: hyatt → nobody

Comment 1

8 years ago
This is WFM using Mozilla/5.0 (Windows; Windows NT 5.1; en-US; rv:2.0b2pre) Gecko/20100716 Minefield/4.0b2pre
You need to log in before you can comment on or make changes to this bug.