Closed
Bug 293977
Opened 20 years ago
Closed 19 years ago
When element with '-moz-opacity' style is placed inside of button then command event is not fired
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: surkov, Assigned: jag+mozilla)
References
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
application/vnd.mozilla.xul+xml
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041108 Firefox/1.0 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217
<button oncommand="alert(3)">
<description value="hello" style="border: solid thin; -moz-opacity: 0.5;"/>
</button>
If you'll click on description then command event will not be fired.
Reproducible: Always
Comment 1•20 years ago
|
||
Updated•20 years ago
|
Updated•20 years ago
|
OS: Windows 2000 → All
Comment 2•20 years ago
|
||
roc, any idea what's up here? Sounds like view/event trouble....
Blocks: 293735
Comment 3•20 years ago
|
||
If it helps, from what I know of button frames, they use nsFrame's version of
GetFrameForPoint so that they receive all events allowing them to process left
clicks and the Space (and where appropriate the Enter) key. Additionally this
allows themes to use button:hover and button:active rules in old builds.
As XUL is currently implemented we cannot reimplement the event handling in XUL
as there is no way to pass an event to nsXULElement::DoCommand.
Comment 4•19 years ago
|
||
Clicking repeatedly on the text causes Firefox to crash. Here's the talkback
incident:
http://talkback-public.mozilla.org/talkback/fastfind.jsp?search=2&type=iid&id=8783146
Comment 5•19 years ago
|
||
Doh. Sorry...forgot to include my Build Identifier. I'm using today's trunk
nightly.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050827
Firefox/1.6a1 ID:2005082706
Comment 6•19 years ago
|
||
David, that's bug 306049.
Comment 7•19 years ago
|
||
Ah. My apologies. I should've realized that would already have been filed...
Comment 8•19 years ago
|
||
This is WFM in my debug build that has the "frame display lists" patch in it (bug 317375)
Depends on: 317375
Comment 9•19 years ago
|
||
Testcase doesn't work with
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060124 Firefox/1.6a1 ID:2006012405
(Clicking button results in no dialog with '3' in)
Testcase does work with
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060126 Firefox/1.6a1 ID:2006012613
(Clicking button results in dialog with '3' in)
--> RESOLVED FIXED (by bug 317375)
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•