Commit Graph

1284 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
04825cfb67 Fix bug 313498 -- no need for aPresContext in GetOptionsContainer. r+sr=roc. 2005-10-23 22:11:27 +00:00
mats.palmgren%bredband.net
bb5f71a7f4 Don't compare the displayed value against the "selected index" in dropped down mode since that is actually the "hovered index". b=313260 r+sr=bzbarsky 2005-10-22 03:47:00 +00:00
bzbarsky%mit.edu
3d61b57735 Start out with our display textnode in the right state so we don't require
two-pass reflow (which printing can't handle) to display comboboxes right. Bug
311380, r+sr=roc
2005-10-20 23:19:22 +00:00
bzbarsky%mit.edu
8e989a107f Fix bug 309467. r=jst, sr=neil 2005-10-20 02:10:31 +00:00
dbaron%dbaron.org
6beb9b195c Indentation fixes needed after s/nsIPresContext/nsPresContext/. Whitespace changes only. 2005-10-15 04:08:04 +00:00
roc+%cs.cmu.edu
464d032fd7 Bug 258875. Make a file upload control's textbox be read-only and take it out of the tab order. Clicking on the textbox will open the filepicker. r+sr=dbaron 2005-09-30 22:01:54 +00:00
peterv%propagandism.org
3609c87767 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
mats.palmgren%bredband.net
9f89e5e068 Call 'RemoveMappingsForFrameSubtree()' before destroying 'mPopupFrames'. b=117984 r+sr=bzbarsky 2005-09-20 20:28:02 +00:00
roc+%cs.cmu.edu
fed343c43a Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
cf64715ae5 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
aaronleventhal%moonset.net
030b1bfae0 Bug 306437. Onchange events fired twice for option selection via mouseclick. r=dbaron, sr=neil 2005-09-04 18:20:56 +00:00
bzbarsky%mit.edu
0f56e73dd0 Make sure kepress handlers are not affected by Caps Lock state. Bug 295228,
patch by Dainis Jonitis <Dainis_Jonitis@swh-t.lv>, r=neil, sr=bzbarsky
2005-08-30 18:13:48 +00:00
roc+%cs.cmu.edu
6377fe1d40 Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman 2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
adc0ddf8eb 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. 2005-08-22 18:34:21 +00:00
bzbarsky%mit.edu
8e208eced1 Make frames know whether they're leaves or not from the frame construction
point of view; use this in the frame constructor.  Bug 265367, r+sr=dbaron
2005-08-16 22:52:48 +00:00
gavin%gavinsharp.com
9e2e6cc931 Bustage fix #1, remnant from another patch 2005-08-16 12:42:34 +00:00
gavin%gavinsharp.com
6655b13eac Bug 301313 : Remove mPresContext in /layout/forms/, patch by Andreas Lange <mozilla@lange.cx>, r+sr=roc 2005-08-16 12:20:58 +00:00
timeless%mozdev.org
52a2f797f2 Bug 302356 Crash when drag-scrolling combobox [@ nsIFrame::HasView][@ nsIFrame::GetOffsetTo]
r=roc sr=roc a=bsmedberg
2005-08-07 14:35:45 +00:00
masayuki%d-toybox.com
837ea2a4d2 Bug 302959 If the a element in the legend element got focus, the ancestor table width is broken r+sr=dbaron, a=benjamin 2005-08-02 14:58:55 +00:00
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
roc+%cs.cmu.edu
920e33d25a Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg 2005-07-25 23:23:53 +00:00
mats.palmgren%bredband.net
204695d4bf Consider height of <OPTGROUP> labels when calculating visible height. b=300474 r+sr=bzbarsky a=benjamin 2005-07-24 01:02:15 +00:00
aaronleventhal%moonset.net
37551fbadf Bug 290354. Support multiple selection. r=timeless, sr=bryner, a=asa 2005-07-14 14:20:21 +00:00
roc+%cs.cmu.edu
778266c986 Bug 291443. Capture the mouse if the user clicks on an item in a showed drop-down list. r+sr=bzbarsky,a=asa 2005-07-10 23:46:56 +00:00
cvshook%sicking.cc
23fe2ae1ed Bug 296764: Move html keybindings to chrome to make sure they work even with js turned off
r=bsmedberg sr=jst a=bsmedberg
2005-06-29 22:41:59 +00:00
roc+%cs.cmu.edu
613c2ee10c Restoring fix for bug 295571 2005-06-22 01:38:49 +00:00
roc+%cs.cmu.edu
c64a4be67f Backing out fix for bug 295571 to see if that caused Tp hurt 2005-06-21 23:22:33 +00:00
roc+%cs.cmu.edu
941fb250ab Bug 295571. Make sure we resize the combobox dropdown's view and widget if we reflow the combobox while its dropdown is showing. r+sr=dbaron,a=chofmann 2005-06-21 04:04:12 +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
mats.palmgren%bredband.net
05cc19b763 Adjust current index of combobox when options are added or removed. b=286170 r+sr=bzbarsky a=asa 2005-06-20 23:26:35 +00:00
roc+%cs.cmu.edu
158a8445d3 Bug 290428. Don't change listbox selection when the cursor is over the listbox border and we're not capturing the mouse. r+sr=bzbarsky,a=asa 2005-06-17 02:44:31 +00:00
roc+%cs.cmu.edu
de75a5024a Bug 292656. 'Fully unconstrained' reflows should only depend on the width being unconstrained, since the dropdown layout doesn't depend on the computed height. r+sr=dbaron,a=asa 2005-06-17 02:42:29 +00:00
roc+%cs.cmu.edu
d960828b32 Bug 296803. Don't start list item selection prematurely when the combobox pops up above the select control. r+sr=me, patch by Jan Darmochwal, a=asa 2005-06-14 22:15:53 +00:00
bzbarsky%mit.edu
c194b5e043 Make fieldsets always be containing blocks. Bug 296722, r+sr=dbaron,
a=asa
2005-06-12 20:33:35 +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
aaronleventhal%moonset.net
5a752fb290 Bug 289376. Fix description and value for combo boxes. r=louie.zhao, sr=jst. a=asa 2005-05-05 15:05:34 +00:00
bzbarsky%mit.edu
e61e1e1935 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +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
roc+%cs.cmu.edu
84b0577142 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
bzbarsky%mit.edu
969eb028e7 Make file input frames correctly store their value in the content node even if
the whole presentation is coming down.  Bug 287120, r=sicking, sr=jst, a=brendan
2005-04-28 17:11:22 +00:00
bzbarsky%mit.edu
23a4479e27 Make text control state restoration work right even in subframes loaded from a
different website.  Bug 287446, r+sr=jst, a=chofmann
2005-04-26 03:31:29 +00:00
roc+%cs.cmu.edu
bc6893b6ba Bug 291443. Listboxes should always direct mouse capture to their scrolled frame, to ensure that events reach the DOM event listener. r+sr=bzbarsky,a=chofmann 2005-04-26 03:14:38 +00:00
bzbarsky%mit.edu
e84856a159 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
34f73270cd Flush out content model construction before messing with the DOM, since we plan
to insert frames into our display frame and putting options in there is a bad
idea.  Bug 289730, r+sr=roc, a=asa
2005-04-12 15:31:03 +00:00
roc+%cs.cmu.edu
b92a5cf080 Bug 289179. Fix regression by having nsTextControlFrame find its scrollable view again. r+sr+a=dbaron 2005-04-06 20:50:58 +00:00
ginn.chen%sun.com
c4da642d54 Bug 260399 disabled textarea/input should use DEFAULT pointer
r+sr=bzbarsky
2005-04-04 10:35:50 +00:00
mats.palmgren%bredband.net
7c0488c16c Revoke outstanding events before posting a new RedisplayTextEvent to avoid potential out-of-order events which could mean displaying the wrong text. b=288821 r+sr=bzbarsky 2005-04-03 22:16:07 +00:00
mats.palmgren%bredband.net
4d0360b69b Remove code that does not work with outstanding RedisplayText events. b=288821 r+sr=bzbarsky 2005-04-03 19:58:40 +00:00
roc+%cs.cmu.edu
3f9ca6b926 Bug 287592. Make buttons return the correct overflow area from reflow. r+sr=dbaron 2005-03-31 02:19:48 +00:00