Closed
Bug 678193
Opened 14 years ago
Closed 6 years ago
CSS transform box with onclick handler does not generate click event
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gmoulin.dev, Unassigned)
Details
(Keywords: testcase)
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0a2) Gecko/20110810 Firefox/7.0a2
Build ID: 20110810042009
Steps to reproduce:
I have an html webapp tuned for mobile use and i found a weird bug.
My items are displayed using isotope jquery plugin and arranged with "css transform translate".
The javascript functions are binded to the buttons using jquery delegate function on a wrapper div. I added tests for 'click' event and 'live click' event.
See http://jsfiddle.net/gmoulin/gVGM6/embedded/result/ as example.
(you can use http://jsfiddle.net/gmoulin/gVGM6 to test with)
Test on Samsung Galaxy S2 under Firefox and Firefox Beta.
Actual results:
For the first item the "buttons" are working, for the rest the first one's are called or (in the example) nothing append. Still the buttons are in active mode when clicked.
Expected results:
Buttons should call back the correct javascript binded functions.
Buttons behave "correctly" under iphone4 Safari, Android opera mini / dolphin / native browser. (only graphical bug, clicks are working)
With last Firefox Beta event the first item buttons are completely broken.
Comment 2•14 years ago
|
||
Confirmed, when tapping on the green box, 'click' text should appear.
Updated•14 years ago
|
Comment 3•14 years ago
|
||
Using some iframes with the testcase as url.
Updated•14 years ago
|
OS: Linux → All
Hardware: x86 → All
Version: Firefox 5 → Trunk
Updated•14 years ago
|
Summary: css transform and javascript bind equals no function call → CSS transform box with onclick handler does not generate click event
dup of bug 677878?
Comment 5•13 years ago
|
||
This is probably because we get getBoundingClientBox to figure out where to click. We need something different that keeps transforms in mind for Fennec.
Comment 6•13 years ago
|
||
This seems to work fine in Fennec Native.
Comment 7•13 years ago
|
||
In current Fennec Native, I can't see the green box in the second iframe of the second testcase, though (until I pinch zoom), so I filed bug 765677 for that.
Comment 8•6 years ago
|
||
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•