Commit Graph

29 Commits

Author SHA1 Message Date
rods%netscape.com
6138edf03a Added methods for getting a frame's current font and
for calculating the nsIFormControlFrame's NavQuirks size
Added two methods for getting the "wrap" property and andded a new enum
for for testing against instead of a string
Added a method for calculating the size when in NavQuirks modes, this currently
duplicates the algorithms for for input text and textareas
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:50 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
rods%netscape.com
96fedd5157 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
It also measures W & w for the the chars width in NavQuirks mode to get more accurate measurement of the width and height
1999-09-30 11:34:32 +00:00
buster%netscape.com
27032c0f32 just a comment about a possible bug I saw going through this code 1999-09-02 20:47:20 +00:00
mscott%netscape.com
d3ffd930a4 check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
and password dialogs
1999-09-01 04:11:17 +00:00
rods%netscape.com
c3ade2023a removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst 1999-08-31 12:59:09 +00:00
kmcclusk%netscape.com
ed5ecc24cc Removed compiler warning in nsFormControlHelper::PaintCircularBackground 1999-08-30 22:29:11 +00:00
rods%netscape.com
c2d0583645 Changed parameters from width and height to a nsRect 1999-08-27 14:31:54 +00:00
kmcclusk%netscape.com
af9e15b5e3 nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
buster%netscape.com
bb7e3f641a added support for Ender GFX-rendered text control
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame
1999-06-12 22:29:54 +00:00
evaughan%netscape.com
75c2437e81 Fixed xul boxes to implement nsIBox interface. 1999-05-09 21:46:24 +00:00
karnaze%netscape.com
07f3958fb2 fixed potential divide by 0 1999-04-30 19:50:42 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
evaughan%netscape.com
204a6670eb 1) Implemented regular button and html4 button with a button renderer.
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
   messed up the active, hover, and disabled states.
1999-03-06 19:43:13 +00:00
kipp%netscape.com
95696e90a5 Removed dead include 1999-03-05 19:23:09 +00:00
kipp%netscape.com
9ddafbd9f8 use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00
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
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
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
evaughan%netscape.com
db164f2293 Made the HTML input button gfx rendered and in the netscape look and feel. Minus rounded borders
that CSS doesn't currently support.
1999-02-12 05:20:55 +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
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
kmcclusk%netscape.com
8e1aa657ab 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.
1999-02-09 18:25:40 +00:00
kmcclusk%netscape.com
75802b29d1 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.
1999-02-05 22:15:35 +00:00
kmcclusk%netscape.com
ed425fc6f1 Added code to gfx-render checkboxes using CSS style.
Removed commented out code in nsFormControlFrame and nsFormControlHelper
1999-02-05 19:48:18 +00:00
kmcclusk%netscape.com
b0fc5ee1c9 Moved ForceDrawFrame from nsComboboxControlFrame to nsFormControlHelper
Removed commented out code in nsFormControlHelper.h.
Modified nsCheckboxControlFrame and nsRadioControlFrame to use ForceDrawFrame
when gfx-rendered.
1999-02-03 18:55:37 +00:00
michaelp%netscape.com
0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
harishd%netscape.com
baf7b197c8 StyleContext passed onto PaintArrow() 1999-01-22 22:34:28 +00:00
rods%netscape.com
dc02794a78 Initial checkin factored code from nsFormControlFrame 1999-01-22 15:47:33 +00:00