![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Apparently there is a textarea onscroll event bubbling bug in Firefox and Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=229089 I'm trying to check for this bug with the following script and it *seems* to work. In IE it reports "bubbling" and in Firefox "not bubbling" but I really have no direct way to confirm the Firefox results until the bubbling bug is fixed. Basically the test script assigns an onscroll event handler to a textarea and then scrolls the textarea down then back up, checking to see if a the event handler works (assigns the "bubbling" variable a "true"). |
#2
| |||
| |||
|
|
Mark Szlazak wrote: Apparently there is a textarea onscroll event bubbling bug in Firefox and Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=229089 I'm trying to check for this bug with the following script and it *seems* to work. In IE it reports "bubbling" and in Firefox "not bubbling" but I really have no direct way to confirm the Firefox results until the bubbling bug is fixed. Basically the test script assigns an onscroll event handler to a textarea and then scrolls the textarea down then back up, checking to see if a the event handler works (assigns the "bubbling" variable a "true"). If script scrolls then I am not sure Mozilla fires the scroll event, it should fire it when the user scrolls. At least for a window a quick test shows that window.scrollTo() doesn't fire the scroll event and even if onscroll worked for textareas then I don't think the scroll event would be fired if script manipulates the scroll settings. -- Martin Honnen http://JavaScript.FAQTs.com/ |
#3
| |||
| |||
|
|
Also, do you have any suggestions for checking if the textarea onscroll event in Firefox is working? |
#4
| |||
| |||
|
|
Mark Szlazak wrote: Also, do you have any suggestions for checking if the textarea onscroll event in Firefox is working? That bug you have found has a test case: https://bugzilla.mozilla.org/show_bug.cgi?id=229089 -- Martin Honnen http://JavaScript.FAQTs.com/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |