Commit Graph

976 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
890e142a2e Hold on to the event listener while firing it so it doesn't die. Bug 309574,
r+sr+branch181=jst


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194536 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 21:31:55 +00:00
mkaply%us.ibm.com
26d230d0dd #297919
r=brendan, sr=bz
event.button in a mouse move should be 0 to maintain compatibility with older browsers
this went on the trunk and 1.8.0 - forgot 1.8


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194408 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 15:54:33 +00:00
Olli.Pettay%helsinki.fi
e22d2b2201 Bug 330494, warn about using NN4 event handling and preventBubble and preventCapture method. a=bz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194145 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 17:15:14 +00:00
brettw%gmail.com
333b5a01ff Branch patch for fixed-on-trunk bug 271498 r=bryner sr=roc branch=roc "Make
context menus appear at caret position" and bug 317145 r=bryner sr=roc Crash in
previous patch.


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194000 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 16:19:23 +00:00
mozilla.mano%sent.com
ca20e8ea9c Bug 107433 - Make it possible to turn off click-and-hold contextual menu access. r=pedemonte, sr=neil, b181=bzbarsky.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193986 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 10:36:16 +00:00
ginn.chen%sun.com
c0829d8308 Bug 144000 caret browsing - bad initial position
r=aaronleventhal sr=bzbarsky a=bzbarsky


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193320 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 10:16:36 +00:00
mrbkap%gmail.com
2b901a3a70 Use the right non-null event variable and clean up an indentation violation. r+sr=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190925 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 23:39:47 +00:00
masayuki%d-toybox.com
4baf44272d Bug 111432 [FIRST] Mouse wheel scrolling doesn't work in print preview on page margin or on frame page r+sr+branch181=roc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189404 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 08:24:41 +00:00
masayuki%d-toybox.com
524f3ce6d5 backing-out previous check-in b=111432
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189403 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 08:20:29 +00:00
masayuki%d-toybox.com
57a96dfa63 Bug 111432 [FIRST] Mouse wheel scrolling doesn't work in print preview on page margin or on frame page r+sr+branch181=roc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189402 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 08:04:31 +00:00
neil%parkwaycc.co.uk
486762d919 Bug 303713,319732 Allow content to type into text fields using key events r+sr=jst,dbaron a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187932 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 00:14:55 +00:00
mats.palmgren%bredband.net
b163f19c21 MoveFocusToCaret() could cause the selection frame to be destroyed, so ask for it again. b=308086 r=aaronleventhal sr=bryner a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187461 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 03:50:57 +00:00
masayuki%d-toybox.com
3da2fc7cb5 Bug 105894 Clicking a partially off-screen link shouldn't scroll the page / Bug 288945 clicking links in client-side image maps scrolls the page to the bottom of the imagemap, making it impossible to click some imagemap links / Bug 300765 Strange flickering with graphical links in this testcase / Bug 309075 Right-clicking a partially off-screen link shouldn't scroll the page r+sr=roc a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187067 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 14:06:43 +00:00
jst%mozilla.jstenback.com
04c8bfadc5 bug 309027: Make sure we unsuppress the old focus controller to avoid making focus go out of whack. Patch by aaronlev and mrbkap. r/sr=mats/jst, a=mtschrep@gmail.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182886 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-24 07:34:26 +00:00
doronr%us.ibm.com
def424de1a Bug 302188 - support read-only/read-write pseudoclasses. Patch by allan, r/sr=bz a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182392 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 18:37:55 +00:00
allan%beaufour.dk
706ca03144 Support :enabled/:disabled pseudoclasses. Bug 84400 r+sr=bzbarsky, a=mtschrep (+ regression bug 306614 and bug 306620 r+sr=bzbarsky, a=asa)
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181032 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 10:29:29 +00:00
mozilla.mano%sent.com
a05e0d7912 Bug 309227 - Support for wheel+metakey prefs. r=mento, sr=neil, a=mtschrep.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181011 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 00:04:13 +00:00
aaronleventhal%moonset.net
f822f0df8b Bug 305985. After clicking in blank content area, focus stays in some widgets when it should have left. r=mats, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180877 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 18:39:17 +00:00
mark%moxienet.com
6913856e91 Bug 299419, crash [@ nsEventStateManager::FireContextClick]. Check for null pres shell. r+sr=roc a/1.8=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180444 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 22:44:55 +00:00
doronr%us.ibm.com
41e4f6a444 Bug 302462 - Support :valid, :invalid, :out-of-range and :in-range pseudoclasses
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180393 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:35:02 +00:00
aaronleventhal%moonset.net
4564f201a4 Bug 305032. Fix various situation where focus is confused and commands get disabled/grayed out. Other bugs fixed are bug 306076, bug 306924 and bug 306235. r+sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179748 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 23:31:24 +00:00
aaronleventhal%moonset.net
5380bbb4c3 Bug 307153. Focus lost after dialogs closed. r+sr=bryner, a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179717 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 19:49:54 +00:00
jwatt%jwatt.org
b016970365 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179351 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 23:15:10 +00:00
mozilla.mano%sent.com
aa6ed06587 backing out patch i didn't mean to checkin in v1.592 of this file
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179037 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 10:15:31 +00:00
bryner%brianryner.com
aacb2fe27b In the XUL autocomplete widget, make user-initiated autocomplete dispatch an oninput event, just as if the user had typed the text. Also fixing a bug where it was not possible to create an oninput event from script. Bug 287996, r=mconnor sr=jst a=cbeard.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178632 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 20:36:01 +00:00
aaronleventhal%moonset.net
68e7466914 Bug 258285. Findbar coming up when it shouldn't (textareas/textfields). r=mats, sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177875 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 19:33:48 +00:00
aaronleventhal%moonset.net
4a5d8941ec Backing out. Doh! I have approval but I only wanted to check this into the trunk at first, for testing.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177854 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 17:52:43 +00:00
aaronleventhal%moonset.net
c595157e1c Bug 258285. Find As You Type coming up when it shouldn't (textareas/textfields). r=mats, sr=bryner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177850 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 17:36:46 +00:00
jst%mozilla.jstenback.com
a9f668bc25 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
roc+%cs.cmu.edu
a4e5443b20 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there.
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
dbaron%dbaron.org
bd12c6817d Fix some confusion related to popup and popupblocked events and a little other confusion. b=291725 r=jst sr=bzbarsky a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177009 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:18:05 +00:00
aaronleventhal%moonset.net
cfdb4f0d7f Bug 302193. Tabbing gets stuck for print preview when webpage focuses an element in onload, or if user clicks in textfield with mouse. r=mats, sr=neil, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176969 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 13:44:55 +00:00
allan%beaufour.dk
8788b9ba70 Support :required and :optional pseudoclasses. Bug 302608, r+sr=bzbarsky, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@176956 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 08:29:03 +00:00
jst%mozilla.jstenback.com
90f2c15233 Fixing bug 302889, and more tinderbox orange (balsa). Make window.close() actually close the window. Events that were incorrectly targetted at an inner window caused one of our DOMWindowClose handlers to prevent the close. See the bug for more details. r+sr=dbaron@mozilla.org, a=chase@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@176948 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 01:23:40 +00:00
jst%mozilla.jstenback.com
792744ce69 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
aaronleventhal%moonset.net
8d772e2dc0 Bug 300779. Expose XUL tree selection via accessibility events. r=timeless, sr=roc, a=mkaply
git-svn-id: svn://10.0.0.236/trunk@176779 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 17:18:28 +00:00
bryner%brianryner.com
1f319207af Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176571 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 22:09:39 +00:00
mozilla.mano%sent.com
a353cfcbed Partial fix to bug 102330 - Back/Forward menu gets stuck on click-and-hold. r=jhpedemonte, sr=roc, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176568 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 21:41:56 +00:00
mats.palmgren%bredband.net
f77a66da83 Prevent having kbd focus inside the content document in Print Preview. b=244128 r=bryner sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@176372 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 00:15:27 +00:00
bzbarsky%mit.edu
e3b855faff More event coordinate hackery. Bug 296004, patch by John Sullivan
<jsfbbz@kanargh.force9.co.uk>, r+sr=roc, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176264 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:07:47 +00:00
timeless%mozdev.org
10bd8b65a9 Bug 299940 Class nsEvent forward-declared as struct
patch by b.jacques@planet.nl r=dbaron sr=dbaron a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176261 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:03:06 +00:00
roc+%cs.cmu.edu
55659f2785 Bug 297080. Mouse exit events from top-level windows should always be treated as exit events even if the cursor is still within window bounds (it must have moved into an on-top window). r+sr=bzbarsky,a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176186 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-17 21:50:56 +00:00
smfr%smfr.org
85920a7f35 Fix bug 299419: crash on Mac on double-click-hold in a text widget. We crashed in the context-click timer callback dereferencing a null mCurrentTarget, which gets nulled out when SetMouseDownState() dispatches a selection changed event. Fixed by moving the mouse event higher up, while mCurrentTarget is still good. r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@176118 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 00:44:28 +00:00
timeless%mozdev.org
6af80abe4d Bug 298129 Event.timeStamp always returns 0 for mouse click events
patch by martijn.martijn@gmail.com r=dbaron sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@176031 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 18:52:09 +00:00
masayuki%d-toybox.com
dcd54cfc20 Bug 300105 The found link doesn't have pseudo-focus in FAYT on frame page r+sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@175992 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:03:57 +00:00
masayuki%d-toybox.com
53fbb10ba3 Bug 299748 On listbox, Sometimes, We cannot scroll the page to bottom by mouse wheel r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@175753 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 15:53:07 +00:00
smontagu%smontagu.org
e432468805 Process non-ASCII access keys correctly. Bug 255696, r+sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@175549 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-03 12:19:26 +00:00
mats.palmgren%bredband.net
ed09386922 Fix crash opening/minimizing window that has onfocus/onblur=window.close(). b=296300 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175541 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-02 22:58:22 +00:00
dbaron%dbaron.org
1c5fa5f1d0 Followup patch to bug 286303 to prevent hotspot coordinates outside of image from getting to platform APIs, even though they might make sense in some cases. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175540 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-02 22:24:38 +00:00
dbaron%dbaron.org
25b210b22c Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@175468 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 04:29:42 +00:00