Commit Graph

48 Commits

Author SHA1 Message Date
karnaze%netscape.com
009c914f35 better sizing of form controls, especially percentage based sizes and max element sizes 1999-02-23 03:48:01 +00:00
brade%netscape.com
b553b3670f add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
kmcclusk%netscape.com
9d22e42a58 Added pseudo styles for file input element buttons and text fields to control their
appearance during printing.
Now returns value of file upload element in nsHTMLInputElement::GetValue.
Added :file-textstyle and :file-buttonstyle pseudo style's to ua.css.
Modified nsButtonControlFrame::PaintButton to accept a rectangle describing the
position and size of the button to paint.
Modified nsFileControlFrame::Paint to resolve :file-buttonstyle and :file-textstyle to
paint the file upload's button and text field using settings in ua.css
Added nsFileControlFrame::HasWidget utility method.
Added nsFormControlHelper::GetInputElementValue to get the current value of an input element
from the DOM.
Modified nsTextControlFrame::GetProperty to use nsFormControlHelper::GetInputElementValue
Modified nsTextControlFrame::PaintTextControl to accept a rectangle describing the position
and size of the text control to paint.
Modified nsTextControl::PaintTextControlBackground to include a rectangle describing the
position and size of the text control background to paint.
1999-02-18 00:13:39 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com
7f04fb00e6 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
troy%netscape.com
902190112d API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
kmcclusk%netscape.com
3d131e6a4a Fixed border rendering during printing for Select and text, and text areas.
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with  NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.
1999-02-11 01:13:28 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk%netscape.com
10fcba177a Renamed GetSize(PRInt32* aSize) to GetSizeFromContent to remove conflict with
nsFrame GetSize(nsSize& aSize).
Added check for null mWidget in nsFormControlFrame::HandleEvent
1999-02-03 22:56:50 +00:00
kmcclusk%netscape.com
d71b7f88d5 TextAreas now initialize their content area using default text specified in
the HTML File.
1999-02-01 23:49:21 +00:00
kmcclusk%netscape.com
ab7e565d59 Modified nsTextControlFrame::Paint to correctly paint the contents of a
multi-line text area.
1999-02-01 23:09:06 +00:00
kmcclusk%netscape.com
78015f31f6 Moved GetPrimaryFrame to nsGenericHTMLElement.
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values
1999-02-01 18:44:59 +00:00
troy%netscape.com
cd804349fe Fixed a couple of memory leaks 1999-01-29 05:05:02 +00:00
kmcclusk%netscape.com
affac5fac7 Modified GetText to take extra paramater to indicate whether it should return
the current text value or the initial text value
1999-01-28 21:58:01 +00:00
kmcclusk%netscape.com
aaa2d0a40d Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
michaelp%netscape.com
0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
rpotts%netscape.com
f1724f97b9 The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class... 1999-01-26 07:57:54 +00:00
kmcclusk%netscape.com
4f72556760 Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
rods%netscape.com
64f5a23191 Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
troy%netscape.com
6d63084a70 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25:58 +00:00
rpotts%netscape.com
0786f8d0d7 Fire the OnSubmit event on the form not the input field... 1998-12-28 21:28:53 +00:00
brade%netscape.com
b7503c538b attempt to fix build bustage 1998-12-21 18:56:03 +00:00
rods%netscape.com
cccaeefc91 Changed constants to use LookAndFeel values. 1998-12-21 16:52:57 +00:00
pierre%netscape.com
331f9386ca Fix forms: XP_MAC code was missing in GetHorizontalInsidePadding and GetVerticalInsidePadding 1998-12-20 13:18:10 +00:00
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kmcclusk%netscape.com
3e16681c3f Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
rods%netscape.com
ba1b5dbf7c Added painting methods for printing 1998-12-15 19:03:36 +00:00
rods%netscape.com
64c2b7f4c6 Added printing methods 1998-12-10 17:53:34 +00:00
karnaze%netscape.com
4408592081 fixed bug 1806 1998-12-10 17:22:31 +00:00
troy%netscape.com
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
rpotts%netscape.com
2ffc0ee62a Added a missing NS_RELEASE which was causing the URL and webshell to hang around... 1998-11-24 02:07:27 +00:00
kipp%netscape.com
a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
joki%netscape.com
77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
morse%netscape.com
cbcbe77b8a update for single signon 1998-11-18 04:38:13 +00:00
karnaze%netscape.com
aec75f892e form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com
3006e7c7a3 Changed PostCreateWidget() code to use the "default value" when setting
the widget's initial value
1998-11-07 17:47:57 +00:00
karnaze%netscape.com
f50e55787a nsIFormControlFrames initiate insertion into nsFormFrame's list;
turned off url encoding of '.' and '_" to match Nav
fixed bug where non clicked buttons submitted data;
fixed bug where <select>s with initial values were not submitting that value;
1998-10-30 18:05:29 +00:00
karnaze%netscape.com
98eb658b89 fixed bugs 1130, 1132, 1133 1998-10-19 20:37:40 +00:00
karnaze%netscape.com
37f2d06fe4 generalized PostCreateWidget; better combo box rendering 1998-10-14 23:01:44 +00:00
karnaze%netscape.com
c82d985b8a fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
karnaze%netscape.com
42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
troy%netscape.com
7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com
9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
troy%netscape.com
ba3c7125c2 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
karnaze%netscape.com
649786e2e2 bugs 642, 643; also removed unused files. 1998-09-28 21:32:24 +00:00
karnaze%netscape.com
fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00