Commit Graph

250 Commits

Author SHA1 Message Date
Boris Zbarsky
b138321317 Bug 562688 part 9. Eliminate eELEMENT users in dom/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
b799eebaa2 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Olli Pettay
c6c82a30b5 Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking 2010-04-27 12:58:58 +03:00
Olli Pettay
43fec9ee3d Bug 552255, a bit more strict focus handling, r=enndeakin, sr=jst, a=1hourlimit 2010-04-24 13:40:48 +03:00
Neil Deakin
647f30aa88 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Masayuki Nakano
b2b8aa83f0 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Craig Topper
d8677ead2d Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc 2010-03-31 08:39:31 -04:00
Kyle Huey
597c98dfbe Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper
4976501bfc Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Craig Topper
9ba803bea7 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc 2010-03-25 14:17:11 +01:00
Mats Palmgren
1bcfba098e Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Mats Palmgren
862b58a3d4 Remove the inner declaration of startOffset, it shadows the outer one we use. b=549909 r=enndeakin 2010-03-14 14:46:11 +01:00
Neil Deakin
2a767391b2 Bug 544146, when focusing at the caret position, if the caret is not set or at the root, don't look for a node to focus, r=smaug 2010-02-23 13:16:19 -05:00
Neil Deakin
96b0a4b8d6 Bug 536481, clear the mouse capture when a window is lowered or the containing docshell is hidden, r=smaug 2010-02-20 11:06:58 -05:00
Jae-Seong Lee-Russo
7144f31c65 Bug 530300: Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /dom r=peterv 2010-02-20 08:59:07 -05:00
Makoto Kato
deec8f937a Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09:00
Boris Zbarsky
07059f879f Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
Metal Sonic
259a398dae Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Olli Pettay
0bceec42aa bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00
Masayuki Nakano
a5731db90d Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enndeakin 2009-12-12 14:17:40 +09:00
d71d57861b Bug 525856 - White-space in source code affects how link receive focus from keyboard (tab key), r=smaug, sr=roc 2009-11-20 14:09:33 +02:00
Paul O’Shannessy
38806820ff Bug 511503 - Need events for window focus / activation. r=Enn 2009-10-29 12:11:00 -07:00
Neil Deakin
c4fd6752d2 Bug 511449, when a window is shown, update the system focus, as the focus may have been put into an about:blank page loaded beforehand, test by mstange, r=smaug 2009-10-16 10:32:05 -04:00
Rich Walsh
fb7fdb1155 [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Neil Deakin
9a9d2bbf75 Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
David Zbarsky
aadd6cf119 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Neil Deakin
d5b4cc18d6 Bug 507592, don't allow refocusing an element during a blur, r=smaug 2009-09-28 10:17:04 -04:00
Neil Deakin
80de07edd6 Bug 502123 - Switching focus out of a windowed plugin raises the toplevel window. r=mozbugs. 2009-09-26 21:05:34 -05:00
Neil Deakin
cb50cbecb4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Doug Turner
cca630dd2b Bug 511534 - Poor interaction with the software keyboard. r=masayuki/enndeakin 2009-08-26 13:43:41 -07:00
Neil Deakin
6a4f7aecf5 Bug 508477, add a flag to distinguish key focus navigation from other types of focus navigation, allows initial focused textboxes in a dialog to be selected by default, r=smaug 2009-08-26 09:19:41 -07:00
Boris Zbarsky
c95cebf89b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange. 2009-08-24 20:51:57 -04:00
David Zbarsky
630c8fc41e Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
L. David Baron
9e9e76c970 Don't QI a node to nsIDOMElement and back to nsIContent for every call to nsEventStateManager::GetContentState. (Bug 509889) r=enndeakin 2009-08-13 19:09:49 -07:00
b411435f01 Bug 506649 nsFocusManager::GetSelectionLocation has unreachable code block due to shadowed local variable
r=smaug r=enndeakin
2009-08-12 11:49:55 +02:00
Neil Deakin
62c2caa3e3 Bug 344850, shift+tab from input with tabindex set fails, r=smaug 2009-08-04 14:03:39 -04:00
Ehsan Akhgari
2899f28fc2 Backed out changeset 8366e5cc9f57 (bug 125282) because of four windows unit test oranges in a row (all timed out when running mochitest-plain) 2009-08-02 15:10:37 +04:30
Masayuki Nakano
a4e414d004 Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enn, sr=smaug 2009-08-02 10:51:17 +09:00
Neil Deakin
f6daadad48 Bug 504224, crash in GetCommonAncestor, caused because child frame is still focused. Move focus when frame content is removed, and add warnings, r=smaug 2009-07-29 10:36:03 -04:00
Robert O'Callahan
1a34eac1fa Bug 352093. Part 5: the focus manager should use GetRootWidget so it works with documents that don't have their own widgets. r=enndeakin 2009-07-22 12:45:05 +12:00
Robert O'Callahan
20a1764c05 Bug 339548. Part 9: Create nsRootPresContext::UpdatePluginGeometry, and use it. Make nsObjectFrame manage its widget directly. 2009-07-22 12:45:00 +12:00
Neil Deakin
4e897da767 Bug 500224, don't focus elements during unload events, r=bz 2009-07-13 07:55:56 -04:00
Neil Deakin
33b448cc43 Bug 592383, focus the child widget not the top-level when raising on Windows, r+sr=roc 2009-07-13 07:55:56 -04:00
Hiroyuki Ikezoe
ac4489a21a b=497934; fennec crashes in nsFocusManager (undefined C++ behaviour); r=enn, sr=smaug 2009-06-22 17:40:55 -07:00
Neil Deakin
d38c6901f3 Bug 497633, 497878, fix two crashes with similar tests that remove frames during blur, r+sr=smaug 2009-06-22 15:49:10 -04:00
Neil Deakin
809904afa4 Bug 498609 and 498643, clear focused element when not in document, sr=smaug 2009-06-20 20:04:04 -04:00
Neil Deakin
f8cafd3762 Bug 498075, two clicks required to switch away from focused plugin, also fixes ususual minimzing behaviour where it immediately restores again, r+sr=smaug 2009-06-16 14:34:13 -04:00
Neil Deakin
00cd06ef6c Bug 497593, assertion should be allowing null values, r+sr=smaug 2009-06-15 11:05:47 -04:00
Ginn Chen
4d15b383d8 Fix bustage on Solaris caused by Bug 178324 2009-06-11 14:40:41 +08:00
Neil Deakin
f62906b6b1 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00