brade@netscape.com
7b9a9ad3ae
add prototype to reduce warnings on Macintosh compiler
1999-02-19 16:13:47 +00:00
kmcclusk@netscape.com
aa254ce0cc
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
602de2f255
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp@netscape.com
74b2988510
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
peterl@netscape.com
3f01d94bb1
changed all html atoms to lower case
1999-02-12 06:19:07 +00:00
troy@netscape.com
f39b9cee08
API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
1999-02-11 15:56:23 +00:00
kmcclusk@netscape.com
d7eefcc655
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
b4f8c0fbbe
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
kmcclusk@netscape.com
306d1a62b6
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
951bc33488
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
412f346b3e
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
5f4f3b6a36
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
ec34143742
Fixed a couple of memory leaks
1999-01-29 05:05:02 +00:00
kmcclusk@netscape.com
59b31aef90
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
79593c4f72
Modified nsHTMLInputElement text fields to go through nsTextControlFrame
...
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
michaelp@netscape.com
bd06216ab8
modified for new DrawString()/GetWidth() APIs.
1999-01-28 05:03:58 +00:00
rpotts@netscape.com
1b4772b3ed
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
29dd95ad3e
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
8ced71d9bf
Factored out code for helper functions for determining size and for rendering
1999-01-22 15:32:57 +00:00
troy@netscape.com
217ab2bc29
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
0a38e3158c
Fire the OnSubmit event on the form not the input field...
1998-12-28 21:28:53 +00:00
brade@netscape.com
ec8bb7c682
attempt to fix build bustage
1998-12-21 18:56:03 +00:00
rods@netscape.com
acbf73eafc
Changed constants to use LookAndFeel values.
1998-12-21 16:52:57 +00:00
pierre@netscape.com
127b061be0
Fix forms: XP_MAC code was missing in GetHorizontalInsidePadding and GetVerticalInsidePadding
1998-12-20 13:18:10 +00:00
kipp@netscape.com
1e10a83138
Revised frame Paint API
1998-12-18 15:54:23 +00:00
kmcclusk@netscape.com
3c1075b74e
Moved most of the printer paint code to nsFormControlFrame. Added
...
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
warren@netscape.com
4aaec0bad1
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
rods@netscape.com
b15b76d34b
Added painting methods for printing
1998-12-15 19:03:36 +00:00
rods@netscape.com
e9349cae74
Added printing methods
1998-12-10 17:53:34 +00:00
karnaze@netscape.com
c532221809
fixed bug 1806
1998-12-10 17:22:31 +00:00
troy@netscape.com
e602e25924
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
rpotts@netscape.com
ddf55dc40e
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
f6502df0e2
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
joki@netscape.com
249a270b84
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
80e092d29a
update for single signon
1998-11-18 04:38:13 +00:00
karnaze@netscape.com
3c901a8811
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
97c13ac079
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
800afa5432
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
f1f45a6a7c
fixed bugs 1130, 1132, 1133
1998-10-19 20:37:40 +00:00
karnaze@netscape.com
b2086931d9
generalized PostCreateWidget; better combo box rendering
1998-10-14 23:01:44 +00:00
karnaze@netscape.com
f9fc54790e
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
ffb876f867
fieldset, legend support. fixed bug #987
1998-10-08 04:38:41 +00:00
troy@netscape.com
ee0a3c543f
Eliminated nsIRunaround interface, and folded space manager parameter into
...
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp@netscape.com
1512e93ea2
modified for new fontmetrics/renderingcontext.
1998-10-02 01:12:39 +00:00
troy@netscape.com
942c471f56
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
bcd6d1bb45
bugs 642, 643; also removed unused files.
1998-09-28 21:32:24 +00:00
karnaze@netscape.com
7b63e3793e
Converted forms to use the new content model classes and better separate content from layout.
1998-09-23 17:16:51 +00:00