Closed Bug 323251 Opened 19 years ago Closed 19 years ago

Colorpicker doesn't work anymore from web content

Categories

(Toolkit :: UI Widgets, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 298665

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

453 bytes, application/vnd.mozilla.xul+xml
Details
See upcoming testcase.
You can't choose a color anymore with this xul colorpicker, while this still works in current trunk SeaMonkey builds.
Firefox colorpicker:
http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/colorpicker.xml
SeaMonkey colorpicker:
http://lxr.mozilla.org/seamonkey/source/xpfe/global/resources/content/bindings/colorpicker.xml

Maybe it works because SeaMonkey uses this.onselect(); in selectCell, while Firefox uses this._fireEvent(this, "select");.

This regressed between 2005-04-28 and 2005-04-29, very likely a regression from bug 289940
Attached file testcase
Note also bug 298665 (doesn't seem related).
(well, semi-related, it also deals with fireEvent problems)
This is a duplicate of bug 298665, isn't it?
Ah, I hadn't looked at the testcase. I guess it's a dupe, though it might be a good idea to test with the patch in that bug.
Yes, tested the patch and that makes it work.
Note to self: search before you file.

*** This bug has been marked as a duplicate of 298665 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: