Commit Graph
45 Commits
Author SHA1 Message Date
[email protected] f191f05069 Bug 13058: (Fixed Solaris bustage by removing Inherited typedef) 1999-09-15 05:31:31 +00:00
[email protected] da0b974d1a Backing things out until I can get Solaris bustage figured out. 1999-09-14 20:42:26 +00:00
[email protected] 9599a23f5f Bug 13058: Implement nsIStatefulFrame for radio buttons 1999-09-14 19:16:15 +00:00
[email protected] 54dbca1ee9 Correctly set the current state for the radio button in SetProperty. Previously the radio buttons state was not properly set
when JavaScript was used to set it.
1999-08-20 22:52:35 +00:00
[email protected] b56cb73aa9 Added check to see if it was disabled so it would ignore events 1999-08-10 19:26:10 +00:00
[email protected] 9e5067f4cd breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
[email protected] 1e6157fdaf 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
[email protected] b488fc5d7c fix build bustage 1999-06-21 21:24:05 +00:00
[email protected] 04288dc757 Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
[email protected] 20ee0f32da Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
[email protected] 68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
[email protected] c24189f29f Fixing keyboard control of forms 1999-04-06 18:55:06 +00:00
[email protected] 74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
[email protected] 35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
[email protected] 940caf72d1 small change to make it behave like nsCheckboxControlFrame when the WidgetRenderingMode is not initialized. 1999-03-08 04:46:12 +00:00
[email protected] 73485522a4 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
[email protected] b6a7104464 bug 3347 1999-03-01 19:25:47 +00:00
[email protected] dca728e0d0 correctly set max element size on checkbox, radio. Other cleanup. 1999-02-27 03:59:19 +00:00
[email protected] 74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
[email protected] 223496d823 Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ") 1999-02-11 00:51:36 +00:00
[email protected] 2ce547fada 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
[email protected] 266ae7f3f5 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
[email protected] 535e64a9cb 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
[email protected] 6a2362f4f6 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.
1999-02-03 17:25:25 +00:00
[email protected] 9ab532fbb5 Call GetDefaultValue instead of GetCurrentValue in GetChecked when the aGetInitialValue
flag is set to TRUE.
1999-01-28 00:43:49 +00:00
[email protected] 56893ccb4d Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
1999-01-27 00:51:46 +00:00
[email protected] 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
[email protected] 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
[email protected] 8ced71d9bf Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
[email protected] 34344b47e9 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:53:59 +00:00
[email protected] 6ff352794c 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.)
1999-01-06 00:02:27 +00:00
[email protected] 97d11c8a40 sync to new attribute api 1998-12-20 01:21:23 +00:00
[email protected] 1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
[email protected] 3c1075b74e Moved most of the printer paint code to nsFormControlFrame. Added
autodoc compatible comments.
1998-12-16 18:12:55 +00:00
[email protected] 5e8394aee9 Changes to actually print checkbox's and radiobuttons under Windows.
No longer need special offset's during printing. nsFormControlFrame now detects
when to gfx render the widgets.
1998-12-10 17:29:13 +00:00
[email protected] 1077004bbc Added Windows printing code for radio buttons. 1998-12-04 22:53:45 +00:00
[email protected] e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
[email protected] f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
[email protected] 614b76a37f changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
[email protected] 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
[email protected] b2086931d9 generalized PostCreateWidget; better combo box rendering 1998-10-14 23:01:44 +00:00
[email protected] 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
[email protected] ee0a3c543f Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
[email protected] 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
[email protected] 7b63e3793e Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00