jst%mozilla.jstenback.com
895df6e6ca
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
bzbarsky%mit.edu
0804a24fa6
Treat inline and block buttons more uniformly. Bug 304004, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@185169 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 23:39:48 +00:00
timeless%mozdev.org
a05383ef1b
Bug 106386 Correct misspellings in source code
...
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bzbarsky%mit.edu
c448e0b84c
Relanding bug 305705. Patch still by mats, r+sr=me.
...
git-svn-id: svn://10.0.0.236/trunk@184634 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-15 04:03:08 +00:00
bzbarsky%mit.edu
2d5a8594d0
Back out bug 305705 to test performance impact.
...
git-svn-id: svn://10.0.0.236/trunk@184630 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-15 02:16:25 +00:00
bzbarsky%mit.edu
a647d82467
Make sure to do a constrained reflow after having done an unconstrained one.
...
Bug 305705, patch by Mats Palmgren <mats.palmgren@bredband.net>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184598 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:51:17 +00:00
bsmedberg%covad.net
0217e2f9a9
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
d490f00b7b
Remove the dummy frame stuff from selects. Replace it with smarter focus rect
...
painting and sizing for empty selects. Bug 314879, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@184162 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu
c4e0410c6e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu
35affbc82e
Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
...
git-svn-id: svn://10.0.0.236/trunk@183357 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 20:40:54 +00:00
cvshook%sicking.cc
b26f9f52fb
Bug 311827: Make GetAttr return a bool rather then an nsresult.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
roc+%cs.cmu.edu
2b50a04fc6
Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@183097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 21:46:39 +00:00
bzbarsky%mit.edu
ebec986940
Fix bug 313498 -- no need for aPresContext in GetOptionsContainer. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@182852 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-23 22:11:27 +00:00
mats.palmgren%bredband.net
57d905a9da
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
...
git-svn-id: svn://10.0.0.236/trunk@182769 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-22 03:47:00 +00:00
bzbarsky%mit.edu
148c9f90bb
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
git-svn-id: svn://10.0.0.236/trunk@182658 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 23:19:22 +00:00
bzbarsky%mit.edu
8ff3bd2db3
Fix bug 309467. r=jst, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@182569 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 02:10:31 +00:00
dbaron%dbaron.org
1f59103dc8
Indentation fixes needed after s/nsIPresContext/nsPresContext/. Whitespace changes only.
...
git-svn-id: svn://10.0.0.236/trunk@182299 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 04:08:04 +00:00
roc+%cs.cmu.edu
967cecfd9b
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
...
git-svn-id: svn://10.0.0.236/trunk@181339 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 22:01:54 +00:00
peterv%propagandism.org
86ac4d2e8f
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
mats.palmgren%bredband.net
99b957d891
Call 'RemoveMappingsForFrameSubtree()' before destroying 'mPopupFrames'. b=117984 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@180672 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 20:28:02 +00:00
roc+%cs.cmu.edu
aeacb4d477
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.
...
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu
c3d2c5e7a2
Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
...
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179800 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 16:49:21 +00:00
aaronleventhal%moonset.net
246dcdf544
Bug 306437. Onchange events fired twice for option selection via mouseclick. r=dbaron, sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@179630 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 18:20:56 +00:00
bzbarsky%mit.edu
00bdd69268
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
git-svn-id: svn://10.0.0.236/trunk@179325 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 18:13:48 +00:00
roc+%cs.cmu.edu
5525e0f045
Bug 296036. Remove the very poorly specified (and redundant) field 'point' of nsEvent. r+sr=roc, patch by Eli Friedman
...
git-svn-id: svn://10.0.0.236/trunk@178666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 03:57:07 +00:00
bzbarsky%mit.edu
d1afb179ba
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
f8a877926f
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.
...
git-svn-id: svn://10.0.0.236/trunk@178617 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 18:34:21 +00:00
bzbarsky%mit.edu
9104cb9303
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
git-svn-id: svn://10.0.0.236/trunk@177914 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:52:48 +00:00
gavin%gavinsharp.com
10fb8add5d
Bustage fix #1 , remnant from another patch
...
git-svn-id: svn://10.0.0.236/trunk@177835 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 12:42:34 +00:00
gavin%gavinsharp.com
c08a5451cc
Bug 301313 : Remove mPresContext in /layout/forms/, patch by Andreas Lange <mozilla@lange.cx>, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@177834 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 12:20:58 +00:00
timeless%mozdev.org
3f10fd35d8
Bug 302356 Crash when drag-scrolling combobox [@ nsIFrame::HasView][@ nsIFrame::GetOffsetTo]
...
r=roc sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177290 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 14:35:45 +00:00
masayuki%d-toybox.com
2cab5abe8f
Bug 302959 If the a element in the legend element got focus, the ancestor table width is broken r+sr=dbaron, a=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@176977 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:58:55 +00:00
bzbarsky%mit.edu
1e551c09f1
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
git-svn-id: svn://10.0.0.236/trunk@176770 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 16:23:22 +00:00
roc+%cs.cmu.edu
5bae01caf2
Bug 301439. Don't update scrollbars when we do first-pass layout of a listbox. r+sr=dbaron,a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176582 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-25 23:23:53 +00:00
mats.palmgren%bredband.net
1e9e7aa193
Consider height of <OPTGROUP> labels when calculating visible height. b=300474 r+sr=bzbarsky a=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@176490 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-24 01:02:15 +00:00
aaronleventhal%moonset.net
3613b3e8e8
Bug 290354. Support multiple selection. r=timeless, sr=bryner, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176088 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 14:20:21 +00:00
roc+%cs.cmu.edu
05ec7ecdef
Bug 291443. Capture the mouse if the user clicks on an item in a showed drop-down list. r+sr=bzbarsky,a=asa
...
git-svn-id: svn://10.0.0.236/trunk@175903 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-10 23:46:56 +00:00
cvshook%sicking.cc
57bf09cc27
Bug 296764: Move html keybindings to chrome to make sure they work even with js turned off
...
r=bsmedberg sr=jst a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175355 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 22:41:59 +00:00
roc+%cs.cmu.edu
290874fce6
Restoring fix for bug 295571
...
git-svn-id: svn://10.0.0.236/trunk@174984 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 01:38:49 +00:00
roc+%cs.cmu.edu
887b5d232f
Backing out fix for bug 295571 to see if that caused Tp hurt
...
git-svn-id: svn://10.0.0.236/trunk@174969 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 23:22:33 +00:00
roc+%cs.cmu.edu
efe34d1206
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
...
git-svn-id: svn://10.0.0.236/trunk@174924 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 04:04:12 +00:00
mats.palmgren%bredband.net
f1ffae0752
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
...
git-svn-id: svn://10.0.0.236/trunk@174908 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 00:00:14 +00:00
mats.palmgren%bredband.net
1542a75ce7
Adjust current index of combobox when options are added or removed. b=286170 r+sr=bzbarsky a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174900 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-20 23:26:35 +00:00
roc+%cs.cmu.edu
6ca1377728
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
...
git-svn-id: svn://10.0.0.236/trunk@174749 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 02:44:31 +00:00
roc+%cs.cmu.edu
61b5716719
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
...
git-svn-id: svn://10.0.0.236/trunk@174748 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 02:42:29 +00:00
roc+%cs.cmu.edu
76beaa2809
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
...
git-svn-id: svn://10.0.0.236/trunk@174593 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 22:15:53 +00:00
bzbarsky%mit.edu
b2cd79d4bd
Make fieldsets always be containing blocks. Bug 296722, r+sr=dbaron,
...
a=asa
git-svn-id: svn://10.0.0.236/trunk@174490 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-12 20:33:35 +00:00
roc+%cs.cmu.edu
a6a3537c81
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
...
git-svn-id: svn://10.0.0.236/trunk@174046 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 09:00:48 +00:00
aaronleventhal%moonset.net
5211cf48fd
Bug 289376. Fix description and value for combo boxes. r=louie.zhao, sr=jst. a=asa
...
git-svn-id: svn://10.0.0.236/trunk@173072 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-05 15:05:34 +00:00
bzbarsky%mit.edu
3f6088524e
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
git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00