Commit Graph
38 Commits
Author SHA1 Message Date
[email protected] dca728e0d0 correctly set max element size on checkbox, radio. Other cleanup. 1999-02-27 03:59:19 +00:00
[email protected] 51076c2025 Fixed call to ProbePseudoStyleContext in nsButtonControlFrame so it will compile
when NS_GFX_RENDER_FORM_ELEMENTS is defined.
Added checks to nsFileControlFrame::Reflow to make sure the pseudo styles actually
could be loaded. If they can't be loaded it uses the file upload elements style.
Changed file-buttonstyle to file-button and file-textstyle to file-text in ua.css
1999-02-18 22:07:23 +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] a8f5dcbf07 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
[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] a11b39a022 Bug 1958: Submit value for checkboxes or "on" for checkboxes with no value. 1999-01-27 02:33:16 +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] 7d417f24d8 Added support for setting the DISABLED attrivute via the DOM... 1999-01-21 09:51:28 +00:00
[email protected] 01ba1286d6 Bug 1958: Fixing an apparent typo. 1999-01-21 03:09:25 +00:00
[email protected] 20089d3ff5 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:44: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] 5c84dd8442 Fix for Linux build 1998-12-16 18:39:48 +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] 94f2bdb1ac Added some comments 1998-12-04 19:16:58 +00:00
[email protected] 48095d21bb Fix for MAC build 1998-12-04 19:07:46 +00:00
[email protected] 5c4b046bf4 Added code to GFX-render checkbox's under Windows when printing. 1998-12-04 18:33:34 +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] ffb876f867 fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +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] bcd6d1bb45 bugs 642, 643; also removed unused files. 1998-09-28 21:32:24 +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