rods%netscape.com
c586bf3853
Added new interface to support additional StyleContexts that can be used for "skinning" checkboxes.
...
r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@64041 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 15:02:02 +00:00
rods%netscape.com
a8f3a40dd5
fixed up some ifdefs to shutoff debug output
...
git-svn-id: svn://10.0.0.236/trunk@64040 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:59:02 +00:00
rods%netscape.com
a2cd208220
Adding nsICheckboxControlFrame to build
...
r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@64038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 14:47:58 +00:00
dbaron%fas.harvard.edu
0936aaafab
Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
...
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
rods%netscape.com
210bd09a52
turned off ifdef for drag support
...
fix build bustage
git-svn-id: svn://10.0.0.236/trunk@63596 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 16:00:58 +00:00
pollmann%netscape.com
46590e39b1
Bug 31852: Empty string value for multipart form submission now submits, r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@63594 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:48:07 +00:00
rods%netscape.com
5799eb1281
started to add drag selection support. This class is not being used yet.
...
r=dcone b=18895
git-svn-id: svn://10.0.0.236/trunk@63591 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:24:22 +00:00
rods%netscape.com
5348db8337
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
git-svn-id: svn://10.0.0.236/trunk@63590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:22:53 +00:00
rods%netscape.com
30fec46b94
Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
...
r=dcone b=18895
git-svn-id: svn://10.0.0.236/trunk@63589 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:19:40 +00:00
rods%netscape.com
5ef540aa99
Added static method for getting the absolute rect in twips and pixels
...
moved from nsComboboxControlFrame.cpp
r=dcone b=18895
git-svn-id: svn://10.0.0.236/trunk@63588 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:18:07 +00:00
pollmann%netscape.com
d5fd8b4694
Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar
...
git-svn-id: svn://10.0.0.236/trunk@63494 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:43:07 +00:00
pollmann%netscape.com
261a55a1c8
Bug 27951: Re-enable set text "" and Reset for inputs/textareas. This fix coutesy of jfrancis r=self, waqar
...
git-svn-id: svn://10.0.0.236/trunk@63487 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:15:06 +00:00
dbaron%fas.harvard.edu
000e97ba98
Fix leak. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@63414 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 21:29:16 +00:00
rods%netscape.com
ddbfa3ac95
made sure "average" was initialized to zero
...
change the setting of the font from mFixedFont to mFont for textfields
b=18232,32254 r=sfraserfor 18232, self for 32254
git-svn-id: svn://10.0.0.236/trunk@63399 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 15:15:25 +00:00
rods%netscape.com
1310a72d4b
Removed GetScreenHeight and using the one in nsFormControlFrame
...
b=25774 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@63395 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:20:03 +00:00
rods%netscape.com
425572a3d4
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
git-svn-id: svn://10.0.0.236/trunk@63394 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:34 +00:00
rods%netscape.com
038a069997
Added adaptive sizing for dropdown with small screen sizes
...
Added reflow optimization
Added GetOptionsContainer method
b=31987 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@63393 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:32 +00:00
rods%netscape.com
76578e3157
Added method to get the container frame for adding/removing option frames
...
needed for the differences in ListControlFrame sn GfxListControlFrame
b=18895 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@63392 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:17:30 +00:00
rods%netscape.com
7dc235b13a
Moved GetScreenHeight from Combobox frame to here. duplicated the SkipRelfow method to
...
some rework, and I can if def it in and out
b=18895 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@63391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 13:45:30 +00:00
pierre%netscape.com
c84deb6d8c
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.
git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
cmanske%netscape.com
5ab9b7f9df
Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
...
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
rods%netscape.com
f4df672a66
I had the GetDefaultChecked and GetChecked methods reversed.
...
b=31009 r=kmclusk
git-svn-id: svn://10.0.0.236/trunk@63176 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:57:08 +00:00
rods%netscape.com
65ce3a5b21
added #include for nsIContent.h to fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@63056 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 16:45:01 +00:00
rods%netscape.com
b47bf11900
minor change so extended keyboard select works correctly
...
r=dcone
git-svn-id: svn://10.0.0.236/trunk@63055 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:56:26 +00:00
rods%netscape.com
1b47027ebe
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
git-svn-id: svn://10.0.0.236/trunk@63054 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:55:30 +00:00
rods%netscape.com
3747feefc2
turning off debug #defines
...
git-svn-id: svn://10.0.0.236/trunk@63053 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:47:11 +00:00
rods%netscape.com
777c1be6e2
preparing it for prime-time, in the build, but not being used.
...
b=18895, r=dcone
git-svn-id: svn://10.0.0.236/trunk@63046 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:08:54 +00:00
dveditz%netscape.com
51ca5d7259
fixing VC5 build (bug 31868)
...
git-svn-id: svn://10.0.0.236/trunk@63015 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 06:22:09 +00:00
rods%netscape.com
3c4ce75563
now passing back maxElementSize correctly
...
b=30015
git-svn-id: svn://10.0.0.236/trunk@62933 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:25:05 +00:00
akkana%netscape.com
402752ab10
Bug 20207, extra lines in textarea (r=buster)
...
git-svn-id: svn://10.0.0.236/trunk@62818 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 03:01:56 +00:00
buster%netscape.com
8b339b4ead
bug 31108. fixed by manually positioning the view whenever reflow changes the frame
...
r=rickg
a=rickg
git-svn-id: svn://10.0.0.236/trunk@62750 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:38:06 +00:00
tbogard%aol.net
dab65a7998
GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells.
...
git-svn-id: svn://10.0.0.236/trunk@62609 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:30:04 +00:00
tbogard%aol.net
e3f824bae5
Converted to hold on to a docShell instead of a webShell. Interaction with this object that previously was a webShell now is a docShell.
...
git-svn-id: svn://10.0.0.236/trunk@62607 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:29:15 +00:00
tbogard%aol.net
2e756bbf37
Converted to hold on to a docShell instead of a webShell. HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. Removed the ifdef for NEW_WEBSHELL_INTERFACES as we are definitely not going back now.
...
git-svn-id: svn://10.0.0.236/trunk@62606 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:28:46 +00:00
rods%netscape.com
b096b5b0e7
combo needed to set the maxElementSize correctly when reflowing.
...
b=31072 r=buster a=jar
git-svn-id: svn://10.0.0.236/trunk@62524 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 04:46:16 +00:00
pollmann%netscape.com
75c20132b3
Bug 28988: Don't try to submit a form if the window containing it has been destroyed (crash fix) r=waqar, a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@62502 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 23:30:57 +00:00
rods%netscape.com
f2051a9c75
nsITextContent needed to be included not forwarded.
...
git-svn-id: svn://10.0.0.236/trunk@62309 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 16:45:21 +00:00
rods%netscape.com
7e5fa53319
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
git-svn-id: svn://10.0.0.236/trunk@62306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 15:54:31 +00:00
buster%netscape.com
c50284c06b
fixed bug 29837 and part of bug 29790 (the part about the url bar ceasing to respond)
...
r=rods, brade
a=jar
git-svn-id: svn://10.0.0.236/trunk@62258 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 04:08:05 +00:00
rods%netscape.com
7bd524384c
Backout plan, this check only fixes bug 28628
...
a=jar
git-svn-id: svn://10.0.0.236/trunk@62128 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 07:14:58 +00:00
rods%netscape.com
deca5369c1
added include instead of the class decl.
...
r=waterson
git-svn-id: svn://10.0.0.236/trunk@62118 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 05:06:03 +00:00
rods%netscape.com
0e0b56089f
modified the reflow method for better handling incremental and for optimization
...
b=28593, r=buster,kmclusk a=jar
git-svn-id: svn://10.0.0.236/trunk@62115 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 04:28:59 +00:00
rods%netscape.com
f2b6aef7dc
idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
...
r=kmcclusk a=jar b=28593
git-svn-id: svn://10.0.0.236/trunk@62097 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:58:00 +00:00
rods%netscape.com
a798692a8d
Turned off the optimization that wasn't really working well anyway,
...
will turn it back on in M15 after reworking it
b 28593 a=jar r=self
git-svn-id: svn://10.0.0.236/trunk@62095 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:42:29 +00:00
rods%netscape.com
31c4c361ad
Button marks itself dirty when the suggested size is set.
...
b 28593, r=kmcclusk,buster
git-svn-id: svn://10.0.0.236/trunk@62091 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 00:21:10 +00:00
akkana%netscape.com
169b1de1a0
27827: disable the ender event listener for right clicks as had
...
previously been done for middle clicks. This is a band-aid;
we need to dig in and rewrite this code to pass events correctly.
r=buster, a=jar
git-svn-id: svn://10.0.0.236/trunk@62063 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 19:31:03 +00:00
tbogard%aol.net
495826cccc
nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
sfraser%netscape.com
6d9b822079
Fix for 29521 -- i18n issues saving text area state, and 29827 problems with linebreaks going back to a forms page. r=ftang,akkana, a=jar
...
git-svn-id: svn://10.0.0.236/trunk@62012 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 01:16:29 +00:00
valeski%netscape.com
d251a79517
26336. a=jar, r=norris,pollman. We now allow uri creation failure to pass through to the webshell so we can throw error dialogs if need be. This allows 'https not supported' dialogs to be thrown from form submissions when https isn't installed
...
git-svn-id: svn://10.0.0.236/trunk@61885 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 20:36:52 +00:00
karnaze%netscape.com
84b1699eb4
PDT+ bug 28928 - correctly handle reflow of hidden inputs. r=rods, a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@61866 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 13:17:33 +00:00