Resetting xul:label's text node in script results in reflow error, even if reset to same value

RESOLVED FIXED

Status

()

Core
Layout
P3
normal
RESOLVED FIXED
16 years ago
14 years ago

People

(Reporter: Aaron Leventhal, Assigned: Joe Hewitt (gone))

Tracking

Trunk
x86
Windows 2000
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

569 bytes, application/vnd.mozilla.xul+xml
Details
(Reporter)

Description

16 years ago
labelNode.firstChild.data = labelNode.firstChild.data causes reflow problems

It causes the width of the label to be equal the the longes word in the label.
(Reporter)

Comment 1

16 years ago
Created attachment 87735 [details]
Test case

With this test case you have to click the button twice to reproduce the
problem.
(Reporter)

Updated

16 years ago
Blocks: 68841
(Assignee)

Comment 2

16 years ago
taking
Assignee: attinasi → hewitt

Updated

16 years ago
QA Contact: petersen → amar

Updated

16 years ago
Priority: -- → P3
Testcase worksforme.... aaronl, is this still a problem?
(Reporter)

Comment 4

15 years ago
I'm still seeing the problem on a build from 4/29/03.
Probably the same problem as described in bug 189076
Blocks: 189076

Comment 6

14 years ago
Fixed by the patch in bug 255270.
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.