Commit Graph
988 Commits
Author SHA1 Message Date
dbaron@fas.harvard.edu 0db3c15533 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. 2000-03-22 02:43:08 +00:00
rods@netscape.com 03ca850809 turned off ifdef for drag support
fix build bustage
2000-03-21 16:00:58 +00:00
pollmann@netscape.com db170cf810 Bug 31852: Empty string value for multipart form submission now submits, r=nisheeth 2000-03-21 15:48:07 +00:00
rods@netscape.com f8d171b0e2 started to add drag selection support. This class is not being used yet.
r=dcone b=18895
2000-03-21 15:24:22 +00:00
rods@netscape.com dccabc7625 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
rods@netscape.com 3489406ea8 Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
r=dcone b=18895
2000-03-21 15:19:40 +00:00
rods@netscape.com 5f429a82f9 Added static method for getting the absolute rect in twips and pixels
moved from nsComboboxControlFrame.cpp
r=dcone b=18895
2000-03-21 15:18:07 +00:00
pollmann@netscape.com b850f6066f 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
pollmann@netscape.com 2a912acc40 Bug 27951: Re-enable set text "" and Reset for inputs/textareas. This fix coutesy of jfrancis r=self, waqar 2000-03-20 23:15:06 +00:00
dbaron@fas.harvard.edu 839d681cbd Fix leak. r=pollmann@netscape.com 2000-03-18 21:29:16 +00:00
rods@netscape.com 0b130f303a 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
2000-03-18 15:15:25 +00:00
rods@netscape.com fafa74348a Removed GetScreenHeight and using the one in nsFormControlFrame
b=25774 r=kmcclusk
2000-03-18 14:20:03 +00:00
rods@netscape.com 92aed4bdd3 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
rods@netscape.com 8c21d6a403 Added adaptive sizing for dropdown with small screen sizes
Added reflow optimization
Added GetOptionsContainer method
b=31987 r=kmcclusk
2000-03-18 14:17:32 +00:00
rods@netscape.com 75e6808ca0 Added method to get the container frame for adding/removing option frames
needed for the differences in ListControlFrame sn GfxListControlFrame
b=18895 r=kmcclusk
2000-03-18 14:17:30 +00:00
rods@netscape.com 844c6edd65 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
2000-03-18 13:45:30 +00:00
pierre@netscape.com ee71ad262f 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
cmanske@netscape.com a9eac5f7f0 Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge 2000-03-16 23:45:39 +00:00
rods@netscape.com cbba2c9577 I had the GetDefaultChecked and GetChecked methods reversed.
b=31009 r=kmclusk
2000-03-16 22:57:08 +00:00
rods@netscape.com 780ac0bb31 added #include for nsIContent.h to fix bustage 2000-03-15 16:45:01 +00:00
rods@netscape.com 7de0dc4d26 minor change so extended keyboard select works correctly
r=dcone
2000-03-15 15:56:26 +00:00
rods@netscape.com a450fb67de 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
rods@netscape.com c5da6f1964 turning off debug #defines 2000-03-15 15:47:11 +00:00
rods@netscape.com 149221ec18 preparing it for prime-time, in the build, but not being used.
b=18895, r=dcone
2000-03-15 15:08:54 +00:00
dveditz@netscape.com eb9082c0d0 fixing VC5 build (bug 31868) 2000-03-15 06:22:09 +00:00
rods@netscape.com da8ce9189f now passing back maxElementSize correctly
b=30015
2000-03-14 14:25:05 +00:00
akkana@netscape.com 1e45a9d286 Bug 20207, extra lines in textarea (r=buster) 2000-03-14 03:01:56 +00:00
buster@netscape.com c5650c0a21 bug 31108. fixed by manually positioning the view whenever reflow changes the frame
r=rickg
a=rickg
2000-03-13 02:38:06 +00:00
tbogard@aol.net d3ffb32a7a GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells. 2000-03-11 01:30:04 +00:00
tbogard@aol.net 8139432cf8 Converted to hold on to a docShell instead of a webShell. Interaction with this object that previously was a webShell now is a docShell. 2000-03-11 01:29:15 +00:00
tbogard@aol.net d8e70d1a3f 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. 2000-03-11 01:28:46 +00:00
rods@netscape.com cc8b02fb2d combo needed to set the maxElementSize correctly when reflowing.
b=31072 r=buster a=jar
2000-03-10 04:46:16 +00:00
pollmann@netscape.com 0b81b103a7 Bug 28988: Don't try to submit a form if the window containing it has been destroyed (crash fix) r=waqar, a=rickg 2000-03-09 23:30:57 +00:00
rods@netscape.com a04891cf4a nsITextContent needed to be included not forwarded. 2000-03-07 16:45:21 +00:00
rods@netscape.com bf847f8b1b 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
buster@netscape.com 0feb66a10f fixed bug 29837 and part of bug 29790 (the part about the url bar ceasing to respond)
r=rods, brade
a=jar
2000-03-06 04:08:05 +00:00
rods@netscape.com b9bdc47c8d Backout plan, this check only fixes bug 28628
a=jar
2000-03-03 07:14:58 +00:00
rods@netscape.com 75846e66d1 added include instead of the class decl.
r=waterson
2000-03-03 05:06:03 +00:00
rods@netscape.com 4f3b0027fb 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
rods@netscape.com 729a4e53a8 idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
r=kmcclusk a=jar b=28593
2000-03-03 00:58:00 +00:00
rods@netscape.com 837ed797af 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
2000-03-03 00:42:29 +00:00
rods@netscape.com b14b2873de Button marks itself dirty when the suggested size is set.
b 28593, r=kmcclusk,buster
2000-03-03 00:21:10 +00:00
akkana@netscape.com c596197cbf 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
2000-03-02 19:31:03 +00:00
tbogard@aol.net 1c7bf629cf 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 2000-03-02 07:13:02 +00:00
sfraser@netscape.com f80112de8c 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 2000-03-02 01:16:29 +00:00
valeski@netscape.com 410a59676e 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 2000-02-29 20:36:52 +00:00
karnaze@netscape.com 520e27d3e6 PDT+ bug 28928 - correctly handle reflow of hidden inputs. r=rods, a=rickg 2000-02-29 13:17:33 +00:00
pierre@netscape.com 8daa20e5cb Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg 2000-02-24 12:51:28 +00:00
tbogard@aol.net 7fa43ad5ad Commented out the call to webShell::Remove focus as it is no longer needed and the function is going away. Work for 13374. r=rods, saari 2000-02-24 01:47:40 +00:00
pollmann@netscape.com 62518d7ffa Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-24 00:08:00 +00:00