Closed Bug 438621 Opened 18 years ago Closed 18 years ago

colorpicker button . setAttribute("color","#hexcode") fails if called before appending to document

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bugzilla, Assigned: jag+mozilla)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Build Identifier: xulrunner 1.8.1.3 When a colorpicker element (of button type) has its default color set with setAttribute before the element is appended to the document, it fails to select the color. Reproducible: Always Steps to Reproduce: 1.create colorpicker element with type button 2.set color with setAttribute 3.append to document Actual Results: colorpicker button is gray in color, leaving the default color Expected Results: colorpicker button should be white or whatever color is specified in the setAttribute call It works in xul explorer .8.
Summary: colorpicker button . setAttribute("color","#hexcode") fails before appending to document → colorpicker button . setAttribute("color","#hexcode") fails if called before appending to document
I was using the release version. The latest beta works properly; I am marking this as invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.