heikki%netscape.com
c3c301798c
Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods.
2000-09-19 21:47:04 +00:00
rayw%netscape.com
0257791053
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
2000-09-13 23:57:52 +00:00
pollmann%netscape.com
27c144a3b2
Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com
2000-09-08 05:53:28 +00:00
rods%netscape.com
104a4c2a53
KeyPress events now let <ctrl<,<slt>,<meta> continue on through, which stopped commonads keys from working
...
Fixed a couple of off by one errors
Fixed multiple selection with shift key
Fixed focus stealing problem (ifdef'ed out code that was put in to specifically fix this problem)
Fixed div by zero
b=50024,50442,48903
2000-08-29 13:24:38 +00:00
rods%netscape.com
18d89a1b76
Added a lot of asserts to help debug any potential problems, check for nullcontent
...
moved up to GetPrimaryFrameFor doesn't get called with a null content
b=49993 r=kmcclusk
2000-08-25 13:12:59 +00:00
jst%netscape.com
9abec73fbe
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
rods%netscape.com
ae00b95484
listbox - selecting with keyboard no longer allows you to stop on a disabled option, it skips them
...
as does page up and page down
combobox - selecting a disabled option didn't clear the "mouse down" flag and it still thought it was selecting
combobox - selecting a disabled option clears mSelectedIndex, this side effect could be seen by selected
a disabled item then clicking on a link and then hit "back",
b=48903 r=kmcclusk
2000-08-17 21:38:15 +00:00
rods%netscape.com
a54f17cc75
was not unregistering the listers correctly. Not they unreg with the
...
listener object.
b=48915 r=kmcclusk
2000-08-14 22:05:28 +00:00
rods%netscape.com
ad07c40567
added weak reference and ref counted event listener to listbox intead of
...
having the the non-recounted frame add itself. It is now the same as GfxList
b=21629, r=kmcclusk
2000-08-14 14:42:12 +00:00
sfraser%netscape.com
725b321659
More bustage fixing with style struct return types.
2000-08-09 00:52:02 +00:00
sfraser%netscape.com
9aa82a567b
Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
2000-08-08 23:38:00 +00:00
pollmann%netscape.com
5ede1ee556
Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk
2000-08-03 23:32:02 +00:00
rods%netscape.com
2ca4014e41
40000 - right-click events don't go through listboxes (onmoused
...
44454 - Can't drag-scroll/-select in single-select HTML listbox
42301 - select generates onchange when it shouldn't
33421 - <optgroup> in <select> breaks scrolling drop down lists
14771 - GFX list/combo box doesn't respond to keyboard input
b=40000, 44454, 42301, 33421, 14771 r=kmcclusk
2000-08-03 14:13:58 +00:00
rods%netscape.com
1a04a12da1
If the click is not on on item in the dropdown and not in the comboxbox display area then
...
the click count is set to zero so the JS event doesn't get fired. If it IS over the combobox
display area then the JS event does get fired.
b=40382 r=pollmann
2000-07-07 01:35:23 +00:00
rods%netscape.com
e76b426f27
ifdef'ing out the where we get the value of the label
...
currently we aren't supporting "label" for options because they get
concatentated with the content
b=4050 r=kmcclusk
2000-06-15 13:00:23 +00:00
rods%netscape.com
788c936bf0
no longer subtracting off scrollbar width when mComputedSize is set
...
b=36548, r=kmcclusk
2000-06-02 20:59:57 +00:00
rods%netscape.com
0189750b5f
set the clickCoubt appropriately on MouseUp so onclicks are sent or disabled correctly
...
b=40382 , r=joki
2000-05-26 23:31:25 +00:00
rods%netscape.com
ed680830a6
Preventing event from bubbling, capture and default causes a mismatch in mousecapture
...
and this causes the lock. After a lot of testing it appears that the original reason
this was needed is no longer there.
Bug 38422 r=kmcclusk
2000-05-22 21:35:00 +00:00
joki%netscape.com
c95cc22f27
fix for bug 15189 along with an annoying assert that just started. r: rods
2000-05-16 21:58:37 +00:00
joki%netscape.com
a743e2b38b
Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
2000-05-16 11:35:12 +00:00
rods%netscape.com
cec32fb86b
temporary fix for 38825, the frame gets notified that an option has been added
...
before it is actually added into the content model, so the selection cache and the
content model can be of by 1
2000-05-11 14:05:44 +00:00
rods%netscape.com
c7f451afae
get char code instead of key code
...
bug 34630
2000-05-08 22:18:38 +00:00
rods%netscape.com
9d82e3076d
The press event always delivers the key as lowercase where key down gives you the key that was pressed
...
need to change str to lowercase instead of uppercase
b=34630
2000-05-05 21:51:56 +00:00
rods%netscape.com
91f520a217
bryner's fix for key repeat (thanks a lot)
...
need to make press event not bubble
b=38072, r=rods
2000-05-03 22:01:47 +00:00
dbaron%fas.harvard.edu
7e557b01bd
Fix leak of nsHTMLOptionElement. r=pollmann@netscape.com
2000-05-01 04:00:38 +00:00
rods%netscape.com
e61ef4520c
add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
...
has just been disabled
2000-04-28 23:24:59 +00:00
joki%netscape.com
bbb0086bfe
fixes for 5995, 7304, 10573, 22832, and 9668.
...
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
rods%netscape.com
85c02c71ec
Add ifdef'ed Performance Reflow Counting code
...
also added asserts for improper sizes being passed back in reflow
send onChange events on all navigation bug 29440
2000-04-21 22:16:23 +00:00
rods%netscape.com
1e83686bb3
change char detection to use unichar and upper case so now pressing 't' or 'T'
...
gets you the first item that begin with 't' ot 'T'
Bug 34630
2000-04-19 14:57:44 +00:00
rods%netscape.com
47329d0362
Not enabling creator's to be asked if they want to create a special frame for anonymous content
...
bug 33515
2000-04-19 13:55:17 +00:00
scc%netscape.com
b4caf7e667
making string conversions explicit
2000-04-16 11:19:26 +00:00
rods%netscape.com
6b8160b567
Few warning cleanups
...
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144
2000-03-28 15:11:16 +00:00
rods%netscape.com
52e409233a
now handling the incremental reflow better for options
...
when one more options have no label or content the height is zero, so we
now go get the first frame calculate a height based on the font metrics
r=dcone b=32383
2000-03-21 15:22:53 +00:00
pollmann%netscape.com
9a2b70ea89
Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar
2000-03-20 23:43:07 +00:00
rods%netscape.com
6ec1624507
Added adaptive sizing for dropdown with small screen sizes
...
The setting of the cached available size only happens when it is not unconstrained
Added GetOptionsContainer method
Fixed minor problem in GetScrollableView (not actually passing back the frame)
Added the Flushing of content on arrow keys
b=31987,25774 r=kmcclusk
2000-03-18 14:17:34 +00:00
pierre%netscape.com
4d43de09aa
Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.
In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.
2000-03-17 10:15:13 +00:00
rods%netscape.com
5abbfb9f48
factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
...
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463
2000-03-15 15:55:30 +00:00
dveditz%netscape.com
83793623b9
fixing VC5 build (bug 31868)
2000-03-15 06:22:09 +00:00
rods%netscape.com
92ca580100
Fixed Combobox and ListBox frame to be more effecient in processing reflows
...
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar
2000-03-07 15:54:31 +00:00
rods%netscape.com
566edd34e3
Backout plan, this check only fixes bug 28628
...
a=jar
2000-03-03 07:14:58 +00:00
rods%netscape.com
3aecf61eed
modified the reflow method for better handling incremental and for optimization
...
b=28593, r=buster,kmclusk a=jar
2000-03-03 04:28:59 +00:00
pollmann%netscape.com
2ed06994e0
Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg
2000-02-24 00:08:00 +00:00
rods%netscape.com
0d70f918f6
ifdef'ing out a badly formed optimization for incremental reflow.
...
r=buster b=24798
2000-02-16 05:20:21 +00:00
rods%netscape.com
1acec82129
They now cache their state properly in the PresState
...
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
rods%netscape.com
bde09e7c9b
Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms....
2000-02-12 17:49:11 +00:00
rods%netscape.com
72ea52428d
same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr
2000-02-12 17:01:35 +00:00
rods%netscape.com
0835a549dd
now remembers state when selected for single select combos and listboxes,
...
it does not remember mulitple selections (more work needed in content class)
converted over to rnsCOMptr as much as I could
b=21945, r=pollmann
2000-02-12 16:21:37 +00:00
rods%netscape.com
1539b1b9c3
removing unneeded native frames and unneeded frame classes that these derived from
...
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk
2000-02-09 19:34:39 +00:00
pp%ludusdesign.com
58065dda04
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
rods%netscape.com
6485e37aef
add extra debug; added some inremenal reflow code;
...
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292
2000-01-31 23:36:50 +00:00