Closed Bug 299586 Opened 19 years ago Closed 15 years ago

Reflow oddity when setting the value attribute on a <xul:label> for the first time

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: neil, Unassigned)

References

Details

Attachments

(1 file)

291 bytes, application/vnd.mozilla.xul+xml
Details
The forthcoming test case displayes a <xul:button type="menu"/> element. This
element uses XBL to display a label on the left and a dropmarker on the right.
However if you do not provied a label, but set the label in script after the
button has been displayed, then the dropmarker visually jumps to the left.

My guess is that there is some sort of conflict between the two modes of a
<xul:label> - without a value attribute, where it displays its HTML content, and
with a value attribute, where it displays a single line of croppable text.
Attached file Test case
Probably the same underlying reason as bug 272646
Depends on: 272646
This worksforme even before fixing bug 272646.
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: