Closed Bug 527599 Opened 15 years ago Closed 15 years ago

Hiding, setting value, and then displaying a textbox on a timeout results in no value being displayed

Categories

(Core :: XUL, defect)

1.9.2 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jason.barnabe, Unassigned)

Details

(Keywords: regression, testcase)

Attachments

(1 file)

476 bytes, application/vnd.mozilla.xul+xml
Details
Attached file testcase
Running this code onload results in the textbox being empty: var test; function init() { test = document.getElementById("test"); test.style.display = "none"; setTimeout("test.style.display = '';", 10); test.value = "foo"; } See attachment. Works fine in 3.5, broken in 3.6b1.
Works again in 3.6b5.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: