mats.palmgren%bredband.net
c716774153
Protect against frame destruction during event handling and document when that can occur. b=378670 r+sr=bzbarsky a=dveditz
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@233450 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 23:02:43 +00:00
Olli.Pettay%helsinki.fi
f4b805ab9f
Bug 386254, r+sr=roc, a=dveditz
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229485 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 12:54:50 +00:00
Olli.Pettay%helsinki.fi
ff3f5e47af
Bug 375196, r+sr=roc, a=dveditz
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@222608 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 21:36:39 +00:00
Olli.Pettay%helsinki.fi
958486078f
backing out Bug 357684 because it caused Bug 370521, a=schrep/dveditz/jay
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@220562 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-19 23:16:43 +00:00
mats.palmgren%bredband.net
a7ad754f04
Make sure text input onchange handler is called before onblur. b=357684 r+sr=bzbarsky a=jay
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@217507 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-28 03:23:06 +00:00
bzbarsky%mit.edu
b7bc737b78
Don't use frames to implement interfaces, dammit. Just don't! Bug 355931, r+sr=roc, a=dveditz
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@216135 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 02:10:42 +00:00
mats.palmgren%bredband.net
28fd535ca5
Make sure we fire onchange also after selectedIndex was set to -1 through DOM. Thanks to Pablo Greco for helping fix this. b=317078 r+sr=roc a=dveditz
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@215509 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-20 23:11:47 +00:00
sayrer%gmail.com
c77701af65
bug 348669. swap out nsCRT::free where necessary. r=timeless, sr=dbaron, a=schrep
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209878 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 18:26:49 +00:00
Olli.Pettay%helsinki.fi
148065355e
Bug 231830, crash on style.display = 'none' for select element when event onchange occurs, r+sr=bz, a=beltzner
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207301 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 07:44:43 +00:00
smontagu%smontagu.org
c90c82eb03
Remove unnecessary hack for right-to-left file inputs. Bug 346726, r=uriber, sr=roc, a=dbaron
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206808 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 06:33:24 +00:00
pkasting%google.com
1e4719682f
Bug 339127: Add spellcheck attribute, branch version.
...
r+sr=sicking
a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206364 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 01:38:48 +00:00
Olli.Pettay%helsinki.fi
c4f1f05845
bug 345600, Crash [@ nsTextInputListener::UpdateTextInputCommands] using onselect and removing textarea, r+sr=roc, a=mtschrep
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206114 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 06:49:20 +00:00
mats.palmgren%bredband.net
3497db394c
Ignore mLegendFrame as previous sibling since it does not live in the content area frame. b=345249 r+sr=bzbarsky a=beltzner
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205070 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 19:05:39 +00:00
mrbkap%gmail.com
c559deaf12
Checking in the required patches for bug 321299 (again). This is the combined work of sicking, jst, and myself, a=dbaron
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205017 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 01:00:57 +00:00
mrbkap%gmail.com
d86e2e964f
Backing this patch out to fix smoketest blockers.
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203390 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 20:19:25 +00:00
mrbkap%gmail.com
783282fd69
Checking in the required patches for bug 321299. This is the combined work of sicking, jst, and myself, a=dbaron
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203266 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 17:14:11 +00:00
jst%mozilla.jstenback.com
dada9245e8
Fixing bug 313337. Don't fire onchange for input control changes made from script. r=bugmail@sicking.cc, sr=darin@meer.net, a=mtschrep@gmail.com
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202102 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 23:29:01 +00:00
mats.palmgren%bredband.net
7eb5a19aaa
Make sure to do a constrained reflow after having done an unconstrained one. b=305705 r+sr=bzbarsky a=mtschrep
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200658 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 01:19:39 +00:00
bzbarsky%mit.edu
b005520f9e
Don't trim whitespace off hidden input values. Bug 114997, patch by Steuard
...
Jensen <steuard+moz@slimy.com >, r=sicking, sr=bzbarsky, branch181=bzbarsky
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196541 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:28:21 +00:00
aaronleventhal%moonset.net
4bda26a564
Bug 336162. Don't fire DOM events from within layout. r+sr+a=bz
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195924 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 19:54:13 +00:00
cvshook%sicking.cc
bbf198c005
Bug 334977: Separate mValue from mFileName. r/sr/a=jst
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195701 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-29 00:23:04 +00:00
brettw%gmail.com
6931c75be3
Bug 329668 r=bz Browser inline spellchecking branch patch
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195451 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 18:33:26 +00:00
cvshook%sicking.cc
47cd11223d
Bug 325426: Only use baseuris as base for resolving relative uris. r=bz sr=jst a=jst
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194961 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 08:28:13 +00:00
bzbarsky%mit.edu
8bda093633
Followup to bug 322890 -- make sure to advertise the fact that we're not
...
painting our background. r+sr+branch181=roc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193835 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 20:22:00 +00:00
Olli.Pettay%helsinki.fi
64f19b2340
Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, a=mconnor
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193803 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 08:12:30 +00:00
bzbarsky%mit.edu
b847f8340c
Fix crash bug 322348 by making ReParentStyleContext more sane. r+sr+branch181=dbaron
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@192463 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 01:33:28 +00:00
bzbarsky%mit.edu
c713dc8d0d
Don't paint the background of a file control frame. Bug 322890, r+sr+branch181=dbaron
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@188978 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-05 22:57:24 +00:00
bzbarsky%mit.edu
adc2379e23
Make sure to return in the error condition, not just pop the JSContext stack and continue. Bug 321494, r=sicking, sr=brendan, a=dveditz
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187200 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 21:41:34 +00:00
dbaron%dbaron.org
0fa8258291
Give the extra reflow state a correct parent so it doesn't confuse the auto-offset code. b=317502 r+sr=roc a=dveditz
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@187036 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 00:35:18 +00:00
bzbarsky%mit.edu
b67f9fdf1a
Don't compare the displayed value against the "selected index" in dropped down
...
mode since that is actually the "hovered index". b=313260, patch by Mats
Palmgren <mats.palmgren@bredband.net >, r+sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182830 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-23 19:17:12 +00:00
bzbarsky%mit.edu
17cbc0731a
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, a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182814 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-23 13:29:48 +00:00
bzbarsky%mit.edu
3b7af5ee4d
Fix bug 309467. r=jst, sr=neil, a=asa
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182607 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 19:20:38 +00:00
aaronleventhal%moonset.net
418305ae94
Bug 306437. change event fires twice for HTML select (mousedown & mouseup). r=dbaron, sr=neil, a=schrep
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179692 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 14:07:25 +00:00
bzbarsky%mit.edu
69792de2ae
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, a=roc
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179571 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 20:25:54 +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
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