171 Commits

Author SHA1 Message Date
rods%netscape.com
616d38e01a Commented out the rollover code that sets the class to a pseudo-class
git-svn-id: svn://10.0.0.236/trunk@20432 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 18:36:40 +00:00
troy%netscape.com
fcbf19b87f API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor
git-svn-id: svn://10.0.0.236/trunk@20413 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 15:56:23 +00:00
kmcclusk%netscape.com
4f668b7081 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.


git-svn-id: svn://10.0.0.236/trunk@20325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:13:28 +00:00
troy%netscape.com
bd78450e96 Changed GetNextSibling() to use a pointer argument instead of a reference
git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 06:13:38 +00:00
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
dbedf1803d Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references


git-svn-id: svn://10.0.0.236/trunk@20215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:17:06 +00:00
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
troy%netscape.com
8934624982 Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters


git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
kmcclusk%netscape.com
35f21942b9 Undef'ed NS_GFX_RENDER_FORM_ELEMENTS
git-svn-id: svn://10.0.0.236/trunk@20148 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:31:41 +00:00
kmcclusk%netscape.com
c5a5921a54 Added support to gfx-render radio buttons. Both checkboxes and radio buttons
now use CSS style to get colors for rendering. Checkboxes also use the CSS border rendering
code. Added New utility methods to nsFormControlFrame to PaintCircular backgrounds and
borders. Set compiler directive to gfx-render radiobuttons and checkboxes both for printing
and on-screen display.


git-svn-id: svn://10.0.0.236/trunk@20146 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 18:25:40 +00:00
kmcclusk%netscape.com
cb1e2e6d1b undefined NS_GFX_RENDER_FORM_ELEMENTS
git-svn-id: svn://10.0.0.236/trunk@19880 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:22:40 +00:00
kmcclusk%netscape.com
703c2a790c Adjusted checkbox gfx-rendering code to make better looking checkboxes
Created nsFormControlHelper::GetBool and nsFormControlHelper::GetBoolString
utility methods for converting strings into booleans and vice versa.
Modified nsCheckboxControlFrame, nsRadioControlFrame, and nsSelectControlFrame
to use these helpers.


git-svn-id: svn://10.0.0.236/trunk@19878 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:15:35 +00:00
kmcclusk%netscape.com
0a666c164e Disabled gfx-rendering of form controls.
git-svn-id: svn://10.0.0.236/trunk@19867 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:51:27 +00:00
kmcclusk%netscape.com
6a11fc957f Added code to gfx-render checkboxes using CSS style.
Removed commented out code in nsFormControlFrame and nsFormControlHelper


git-svn-id: svn://10.0.0.236/trunk@19866 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:48:18 +00:00
kmcclusk%netscape.com
48eb596de2 Renamed GetSize(PRInt32* aSize) to GetSizeFromContent to remove conflict with
nsFrame GetSize(nsSize& aSize).
Added check for null mWidget in nsFormControlFrame::HandleEvent


git-svn-id: svn://10.0.0.236/trunk@19590 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 22:56:50 +00:00
kmcclusk%netscape.com
15091c910a Moved ForceDrawFrame from nsComboboxControlFrame to nsFormControlHelper
Removed commented out code in nsFormControlHelper.h.
Modified nsCheckboxControlFrame and nsRadioControlFrame to use ForceDrawFrame
when gfx-rendered.


git-svn-id: svn://10.0.0.236/trunk@19519 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 18:55:37 +00:00
kmcclusk%netscape.com
8614dc57ef Added support to allow form elements to be either GFX-rendered or use widgets.
Work in progress for getting check boxes and radio buttons gfx-rendered.


git-svn-id: svn://10.0.0.236/trunk@19465 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 17:25:25 +00:00
kmcclusk%netscape.com
ca814679f8 TextAreas now initialize their content area using default text specified in
the HTML File.


git-svn-id: svn://10.0.0.236/trunk@19231 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:49:21 +00:00
kmcclusk%netscape.com
1d86b393e9 Modified nsTextControlFrame::Paint to correctly paint the contents of a
multi-line text area.


git-svn-id: svn://10.0.0.236/trunk@19223 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 23:09:06 +00:00
kmcclusk%netscape.com
1b772da460 Moved GetPrimaryFrame to nsGenericHTMLElement.
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values


git-svn-id: svn://10.0.0.236/trunk@19185 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:44:59 +00:00
troy%netscape.com
1e954a0eb9 Fixed a couple of memory leaks
git-svn-id: svn://10.0.0.236/trunk@18996 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 05:05:02 +00:00
kmcclusk%netscape.com
733b961ac8 Modified GetText to take extra paramater to indicate whether it should return
the current text value or the initial text value


git-svn-id: svn://10.0.0.236/trunk@18948 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 21:58:01 +00:00
kmcclusk%netscape.com
94fed2f8e2 Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue


git-svn-id: svn://10.0.0.236/trunk@18930 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 18:58:11 +00:00
michaelp%netscape.com
2b18562cef modified for new DrawString()/GetWidth() APIs.
git-svn-id: svn://10.0.0.236/trunk@18902 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:03:58 +00:00
rods%netscape.com
b44e44cb62 Added rollover pseudo-class processing for mouse enter and exit
git-svn-id: svn://10.0.0.236/trunk@18725 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:09:12 +00:00
pollmann%netscape.com
2e9ab16293 Bug 1958: Submit x, y coords for unnamed image elements. Submit coords only once.
git-svn-id: svn://10.0.0.236/trunk@18672 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:25:40 +00:00
pollmann%netscape.com
1e53362e49 Bug 2279: Don't create widgets for hidden form elements.
git-svn-id: svn://10.0.0.236/trunk@18649 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 22:11:59 +00:00
rpotts%netscape.com
8f0d397a2d The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class...
git-svn-id: svn://10.0.0.236/trunk@18597 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 07:57:54 +00:00
kmcclusk%netscape.com
509a2f333f Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame


git-svn-id: svn://10.0.0.236/trunk@18509 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:16:27 +00:00
troy%netscape.com
19c55aa5c3 Fixed ReflowTemp() so it's doing a legal incremental reflow, and changed
Reflow() so it does a minimally acceptable job of handling incremental reflow
commands...


git-svn-id: svn://10.0.0.236/trunk@18366 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 23:10:02 +00:00
harishd%netscape.com
d04bba5e7b StyleContext passed onto PaintBorder()/PaintArrow()
git-svn-id: svn://10.0.0.236/trunk@18360 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:35:12 +00:00
harishd%netscape.com
81ef9c4292 StyleContext passed onto PaintArrow()
git-svn-id: svn://10.0.0.236/trunk@18359 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:34:28 +00:00
harishd%netscape.com
8f1b6c4b34 styleContext is passed onto PaintBorder()/PaintArrow()
git-svn-id: svn://10.0.0.236/trunk@18358 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:31:15 +00:00
kmcclusk%netscape.com
2dfc331847 Added missing methods to nsIFormControlFrame.h
git-svn-id: svn://10.0.0.236/trunk@18327 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 19:10:10 +00:00
kmcclusk%netscape.com
bd9bdef601 Added nsIFormControlFrame to the set of files to export
git-svn-id: svn://10.0.0.236/trunk@18318 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:14:23 +00:00
rods%netscape.com
2a580719d4 Ifdef'ed out the Pluggable event code
git-svn-id: svn://10.0.0.236/trunk@18308 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:56:21 +00:00
rods%netscape.com
749a5217b7 Initial checkin factored code from nsFormControlFrame
git-svn-id: svn://10.0.0.236/trunk@18307 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:47:33 +00:00
rods%netscape.com
ce9720c590 initial checkin
git-svn-id: svn://10.0.0.236/trunk@18306 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:41:28 +00:00
rods%netscape.com
9b13d22d70 Factored out code for helper functions for determining size and for rendering
git-svn-id: svn://10.0.0.236/trunk@18302 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:32:57 +00:00
rpotts%netscape.com
f149440910 Added support for setting the DISABLED attrivute via the DOM...
git-svn-id: svn://10.0.0.236/trunk@18163 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 09:51:28 +00:00
pollmann%netscape.com
98d9fcade3 Bug 2279: Don't create widgets for hidden form elements.
git-svn-id: svn://10.0.0.236/trunk@18135 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 04:02:37 +00:00
rods%netscape.com
f07dcd7083 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@17948 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 15:14:00 +00:00
kipp%netscape.com
c3040176bf Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
git-svn-id: svn://10.0.0.236/trunk@17883 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:52:05 +00:00
troy%netscape.com
8a00831853 Fix for bug #1998. Now we render the background image over the padding area and not over the border area
git-svn-id: svn://10.0.0.236/trunk@17854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 18:25:58 +00:00
troy%netscape.com
ecc9f6f19d Removed the content-parent frame pointer. Now we just have the one geometric
parent


git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:16:23 +00:00
pollmann%netscape.com
73e3b8a43c Bug 2234: Crash on JS Submit().
git-svn-id: svn://10.0.0.236/trunk@17622 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 23:11:26 +00:00
kipp%netscape.com
c5c21eff17 Use new flag defines
git-svn-id: svn://10.0.0.236/trunk@17586 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:42:03 +00:00
brade%netscape.com
a4b6caedf2 reduce Macintosh compiler warnings by making functions static/private
git-svn-id: svn://10.0.0.236/trunk@17241 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:45:28 +00:00
brade%netscape.com
e1d099f21d reduce Macintosh compiler warnings by adding prototype
git-svn-id: svn://10.0.0.236/trunk@17240 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:44:59 +00:00
kmcclusk%netscape.com
2a00ad3de1 Defaultchecked attribute is set to match the checked attribute just after
the radio button or checkbox element is created. Checkboxes and Radio buttons
maintain their current state using the checked attribute stored in the
content model. They no longer use the nsIWidget to maintain their current setting.
Checkboxes and Radio buttons now print correctly. (i.e checked/unchecked state matches the
screen.)


git-svn-id: svn://10.0.0.236/trunk@17202 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:02:27 +00:00