Граф коммитов

140 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 7764d0d5fc Fix leaks on any page with a <select> by using already_AddRefed instead of a
raw addrefed return so that callers can't screw up as easily.  Bug 300833,
r+sr=roc, a=bsmedberg
2005-07-28 16:23:22 +00:00
mats.palmgren%bredband.net 293246508e Stop trying to observe content changes for the selected option, instead rely on getting a combobox reflow if it changed. b=297389 r+sr=roc a=asa 2005-06-21 00:00:14 +00:00
roc+%cs.cmu.edu 90518d0020 Bug 290428. When the mouse drags above or below the end of a listbox/comboboxdropdown, select the first or last option. Also, for comboboxes, start listbox selection as soon as the mouse moves to or below the top padding-edge of the dropdown list, and don't stop listbox selection even if the mouse moves back above that edge. r+sr=bzbarsky,a=shaver 2005-06-02 09:00:48 +00:00
jst%mozilla.jstenback.com 50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
ginn.chen%sun.com 1ef92d4540 Bug 262236 Can't select listitems which are not next to.
patch=neo.liu at sun.com, r=aaronleventhal sr=neil
2005-03-08 03:05:03 +00:00
mats.palmgren%bredband.net c967eac0c7 Make assignments to DOM 'selectedIndex' change the focused index for lists/comboboxes. b=279868 r+sr=bzbarsky 2005-02-04 22:56:13 +00:00
bryner%brianryner.com d94c0df713 Remove nsIPresState (bug 279699). r+sr=roc. 2005-01-27 22:52:53 +00:00
bmlk%gmx.de ca3e9f85c3 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
robin.lu%sun.com 864e562e03 back out patch for bug 262236 on request 2004-12-16 06:40:04 +00:00
robin.lu%sun.com f395533f29 fix bug 262236 can't select incontinuous list items. patched by nian.liu@sun.com r=aaron sr=neil 2004-12-13 07:34:54 +00:00
bzbarsky%mit.edu 7fd8feb31d Create an api for easily converting between the coordinate systems of two
frames or two views.  Use this to fix the auto-positioning of abs pos boxes to
work no matter how their containing block and the block their placeholder lives
in are related, and convert various other callers to the new API.  Bug 266968,
r+sr=roc
2004-11-03 16:16:57 +00:00
roc+%cs.cmu.edu 2a8936b1a7 Bug 257916. Move history scroll position save and restore from nsScrollBoxFrame to nsHTML/XULScrollFrame. +sr=dbaron(rubber-stamp) 2004-09-13 02:10:29 +00:00
bzbarsky%mit.edu d4226e05fa Relanding bug 108817, since it did not cause the Tp problem. r+sr=still roc 2004-08-11 04:49:05 +00:00
bzbarsky%mit.edu f5ed95e537 Backing out patch for bug 108817 to test whether it causes the Tp regression. 2004-08-10 23:37:43 +00:00
bzbarsky%mit.edu b34ac7a3db Remove the timer stuff in nsListControlFrame and replace it with a simple
boolean that's set as needed if the options change and checked in DidReflow()
to decide whether to scroll the list.  Also eliminate the mPresContext member.
Bug 108817, r+sr=roc
2004-08-10 22:21:03 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
rbs%maths.uq.edu.au e2527bce29 Cleanup font usage in form input controls, b=251637, r=jshin, sr=bzbarsky 2004-07-21 01:05:44 +00:00
roc+%cs.cmu.edu b751c53c83 Bug 251501. Refactor handling where frames get inserted on content insertion. r+sr=dbaron 2004-07-18 12:02:53 +00:00
roc+%cs.cmu.edu c81d937cfe Bug 240276. Fork nsGfxScrollFrame into nsHTMLScrollFrame and nsXULScrollFrame. No behaviour is changed yet. r+sr=dbaron 2004-06-18 02:08:19 +00:00
neil%parkwaycc.co.uk 467eb2c764 Bug 244761 ESC shouldn't change displayed selection also improve consistency of change events for drop-downs r/sr=roc 2004-05-28 16:25:04 +00:00
roc+%cs.cmu.edu a6dd695671 Bug 240276. Trim fat from nsGfxScrollFrame, move functionality into nsGfxScrollFrameInner so that when we fork nsGfxScrollFrame, it will be shared 2004-05-05 02:32:27 +00:00
roc+%cs.cmu.edu b39d104f02 No bug. Remove unused code and variables from nsListControlFrame. rs=shaver 2004-05-04 04:30:23 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu 17f81274ba Bug 227838. Remove unused RequiresWidget method from nsIFormControlFrame. r+sr=bzbarsky 2004-04-13 03:11:05 +00:00
bryner%brianryner.com 0286fde9c1 Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron. 2004-01-09 22:18:26 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
roc+%cs.cmu.edu ec0c023645 Bug 212753. Make sure mouse capture is released when combobox popup is hidden. r+sr=bryner,a=mkaply 2003-09-02 15:21:13 +00:00
aaronl%netscape.com 5c5a6660ec Bug 211846. alt+down not working consistently for dropdowns. Also fixes bug 110801 and bug 205942, dropdown from alt+down not showing in the right place. r=jkieser, sr=bz 2003-07-09 06:36:33 +00:00
roc+%cs.cmu.edu 0b15c3893e Ongoing deCOMtamination. r+sr=dbaron 2003-07-04 12:50:32 +00:00
roc+%cs.cmu.edu f5b886b9cd Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa 2003-05-22 01:46:13 +00:00
roc+%cs.cmu.edu 3936b4c393 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
jst%netscape.com 0b5cb41238 Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com 2003-03-14 07:00:53 +00:00
roc+%cs.cmu.edu 96b5516d32 Bug 157445. Be more aggressive about making visibility:hidden elements have visible views. r+sr=bzbarsky 2003-02-23 02:22:14 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
dbaron%dbaron.org 57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
jkeiser%netscape.com d7d9298ab3 Make shift+click work the first time you click in a select (bug 167142), r=peterl@netscape.com, sr=sfraser@netscape.com 2002-12-20 05:32:27 +00:00
jkeiser%netscape.com cb84e04c70 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com 2002-12-18 23:38:09 +00:00
bzbarsky%mit.edu d33d3708fe Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods
2002-11-12 19:17:51 +00:00
kyle.yuan%sun.com 4acee63ab2 Bug 177965 Wrong option selected in select field when pressing first key
r=jkeiser, sr=bzbarsky
Use a static member function ComboboxFocusSet() to clear the gLastKeyTime, and have gLastKeyTime be a static member
2002-11-07 10:25:03 +00:00
aaronl%netscape.com eeb40eac51 Bug 175827. Accessibility APIs: XUL and HTML comboboxes - when pulled down, should have initial MSAA focus event on first focused option. r=kyle, sr=alecf, a=dbaron 2002-10-25 02:53:45 +00:00
kyle.yuan%sun.com c49df165a5 Bug 150590 should be able to type words into <select> - incremental search for item
r=jkeiser, sr=bryner
Support incremental typing navigation for <select>
2002-09-20 02:12:12 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
jkeiser%netscape.com 4d507d3aff Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-06-04 00:44:04 +00:00
rods%netscape.com 57b403c725 Click on the checkbox to get focus to the right spot and then press <tab> to
move between the listboxes.
Bug 64165 r=dcone sr=attinasi
2002-04-11 00:53:20 +00:00
jkeiser%netscape.com e95bf883e6 Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-31 10:14:01 +00:00
jkeiser%netscape.com 31e41094ef Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
jkeiser%netscape.com 39fe8af27c Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org) 2002-03-29 05:35:47 +00:00
dbaron%fas.harvard.edu 66238732c8 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:26:36 +00:00
jkeiser%netscape.com f929b21bf6 Tabbing out of dropdown does not reset selected item (bug 100188), r=rods@netscape.com, sr=attinasi@netscape.com 2002-02-20 05:59:46 +00:00
jkeiser%netscape.com 2cceb551a9 bug 110800 - fire onChange when losing dropdown focus. r=rods@netscape.com, sr=kin@netscape.com 2002-02-08 18:35:48 +00:00