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
jst%mozilla.jstenback.com
ebed1ee784
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
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
131435cb9a
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
...
git-svn-id: svn://10.0.0.236/trunk@172836 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 21:57:22 +00:00
bzbarsky%mit.edu
e6dfc5e889
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
git-svn-id: svn://10.0.0.236/trunk@172813 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 17:11:22 +00:00
bzbarsky%mit.edu
dad862ec1c
Make text control state restoration work right even in subframes loaded from a
...
different website. Bug 287446, r+sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172725 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 03:31:29 +00:00
roc+%cs.cmu.edu
037ed527e7
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
...
git-svn-id: svn://10.0.0.236/trunk@172722 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-26 03:14:38 +00:00
bzbarsky%mit.edu
e2e0f7bfab
Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
...
r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
66359456de
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
git-svn-id: svn://10.0.0.236/trunk@172028 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 15:31:03 +00:00
roc+%cs.cmu.edu
242a80aa53
Bug 289179. Fix regression by having nsTextControlFrame find its scrollable view again. r+sr+a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171822 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 20:50:58 +00:00
ginn.chen%sun.com
4e0213be41
Bug 260399 disabled textarea/input should use DEFAULT pointer
...
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171552 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 10:35:50 +00:00
mats.palmgren%bredband.net
803edc9a31
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
...
git-svn-id: svn://10.0.0.236/trunk@171542 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 22:16:07 +00:00
mats.palmgren%bredband.net
23c6b2b004
Remove code that does not work with outstanding RedisplayText events. b=288821 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171537 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 19:58:40 +00:00
roc+%cs.cmu.edu
c504b2c5ee
Bug 287592. Make buttons return the correct overflow area from reflow. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171416 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 02:19:48 +00:00
roc+%cs.cmu.edu
3b6fa5f822
Bug 287338. Free up unused frame state bit NS_SYNC_FRAME_AND_VIEW. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171281 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 21:08:22 +00:00
mats.palmgren%bredband.net
d5dcb62486
Fix a few -moz-outline* problems and drop the prefix.
...
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171246 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 11:36:08 +00:00
aaronleventhal%moonset.net
67424635be
Bug 287390. Problems with accessibility of image, submit, reset and file control buttons. r=pkwarren, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@171243 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-27 03:03:11 +00:00
bmlk%gmx.de
e6648c930b
fix for build warnings (shadow & strange null pointer treatment) bug 287102 r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171160 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-24 18:41:39 +00:00
mats.palmgren%bredband.net
1f48cfd6ec
Avoid recursive frame construction by using an event to call ActuallyDisplayText(). b=283117 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@170932 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-21 01:58:17 +00:00
ginn.chen%sun.com
d4a631b933
Bug 262236 Can't select listitems which are not next to.
...
patch=neo.liu at sun.com, r=aaronleventhal sr=neil
git-svn-id: svn://10.0.0.236/trunk@170356 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 03:05:03 +00:00
roc+%cs.cmu.edu
b22eed2277
Bug 267037. Buttons should delegate child frames to the wrapped block, and tell the style system that legends are always blocks. Fixes a couple of crashes. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@170308 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:08:26 +00:00
jst%mozilla.jstenback.com
07f72886c9
Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@170153 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 02:01:54 +00:00
bryner%brianryner.com
0e2b73e3fb
Fix autocomplete in message compose by making oninput start off enabled, and just disabling it within SetValue. Bug 282645, r= (and lots of ideas from) neil, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@170069 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 01:19:19 +00:00
mats.palmgren%bredband.net
b65e6945b6
Redirect frame insertions during RedisplayText(). b=282607 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@169508 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 23:54:36 +00:00
bzbarsky%mit.edu
ce5f5c101d
Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
...
presshell args from most frame constructor methods; use the state for the
former and the member for the latter. Bug 281957, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
bzbarsky%mit.edu
952aaf5063
Setting selectedIndex should clear all "previous value" state so that onchange
...
won't fire unless the user actually changes the value from the one set by
setting selectedIndex. r=mats, sr=roc, a=roc
git-svn-id: svn://10.0.0.236/trunk@169304 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-17 04:29:37 +00:00
smfr%smfr.org
981d5897ee
Fix bug 281732: event handling in camino's native popup got broken when screen-relative coordinates in Cocoa widget were fixed (bug 281470), which caused the nsComboboxControlFrame/nsListControlFrame code to start doing mouse capture, and showing the XUL popup. So add a static method, ToolkitHasNativePopup(), and query that (rather than #ifdeffing). r/sr=roc, a=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@169230 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 05:13:16 +00:00
bryner%brianryner.com
15e54a9461
Don't dispatch oninput events when the value of an input is changed programatically. This prevents unwanted opening of the autocomplete popup when a username is prefilled. Bug 272002, r+sr=bzbarsky, a=caillon.
...
git-svn-id: svn://10.0.0.236/trunk@169224 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-15 23:14:42 +00:00
bzbarsky%mit.edu
807f289552
Move reflow command construction into nsPresShell::AppendReflowCommand, remove
...
some members, switch some callers to the non-COM-ish apis. Bug 267085, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@168953 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 00:59:52 +00:00
bryner%brianryner.com
7de757ef1d
Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@168946 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 23:53:47 +00:00
aaronleventhal%moonset.net
a41619de7b
Bug 280871. Fix various problems with how we expose HTML and XUL combo boxes via accessibility APIs
...
git-svn-id: svn://10.0.0.236/trunk@168937 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 23:11:30 +00:00
bzbarsky%mit.edu
2bea98552c
Remove prescontext args for some nsIFrame methods
...
(Append/Insert/Remove/ReplaceFrames) and for some methods in table land. Patch
by Vidar Braut Haarr <bugmail@q1n.org>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@168894 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:58:25 +00:00
mats.palmgren%bredband.net
571aea44de
Make assignments to DOM 'selectedIndex' change the focused index for lists/comboboxes. b=279868 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168819 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 22:56:13 +00:00
mats.palmgren%bredband.net
a0cf4a2fbd
If text is scrolled out-of-view to the left and there is room for it to be visible then scroll it in to view. b=268352 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168816 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-04 21:56:07 +00:00
bzbarsky%mit.edu
a42f09bc20
Make fieldsets return false for CanPaintBackground, since they don't paint it
...
over their whole rect. Bug 277313, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@168681 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 00:32:11 +00:00
dbaron%dbaron.org
16f4991e84
Put the null-check *before* the crash it's supposed to prevent (which timeless saw, somehow).
...
git-svn-id: svn://10.0.0.236/trunk@168616 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 07:35:20 +00:00
bryner%brianryner.com
3437ee229a
Remove nsIPresState (bug 279699). r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@168423 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 22:52:53 +00:00