Commit Graph
249 Commits
Author SHA1 Message Date
[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] 8658a61cda StyleContext passed onto PaintBorder()/PaintArrow() 1999-01-22 22:35:12 +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] 9dce3a5488 Bug 2279: Don't create widgets for hidden form elements. 1999-01-21 04:02:37 +00:00
[email protected] 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
[email protected] 80f6a21014 Bug 2234: Crash on JS Submit(). 1999-01-12 23:11:26 +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] 57c9c45a75 Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +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] 4583f033dd Partial whack at supporting more accurate max-element-size computations 1998-12-17 18:55:42 +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] b15b76d34b Added painting methods for printing 1998-12-15 19:03:36 +00:00
[email protected] dcb505bb06 Removed temporary ReflowWithNoWidget method from nsFormControlFrame.
Reflow without a widget is now handled by the standard Reflow method.
1998-12-10 18:47:02 +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] 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] 689f64e51d Port to revised pres-context API 1998-11-26 18:14:41 +00:00
[email protected] 1cafe6a870 Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
[email protected] 4279f2f1b7 Added missing NS_RELEASE() to GetWidget() function 1998-11-23 04:41:51 +00:00
[email protected] 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
[email protected] 614b76a37f changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
[email protected] 293fc10a63 bug 1226 for form control with native widgets. Other controls are still not working. 1998-11-13 23:13:42 +00:00
[email protected] 7d57a590c9 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +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] dd334d990c removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
[email protected] e74acd9aca sync to style resolution api changes 1998-11-03 20:33:43 +00:00
[email protected] 2865b9571e changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.
1998-11-03 06:36:36 +00:00
[email protected] d53f9c0403 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
[email protected] 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
[email protected] dc5ff98a5b changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
[email protected] fa55ae1d49 implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +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] a16b0dd7bf Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
[email protected] effa132f8d Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +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] 1512e93ea2 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +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] 137cb5d3ec we no longer have a public font cache. 1998-09-30 19:01:46 +00:00
[email protected] 3a3bcfcb5a better fix for iterator problem. 1998-09-28 22:34:44 +00:00
[email protected] a4c48df255 Fix mac build bustage. Variables declared in the init section of a loop are not valid beyond the scope of the loop (regardless of what VC++ says). 1998-09-28 22:33:47 +00:00
[email protected] bcd6d1bb45 bugs 642, 643; also removed unused files. 1998-09-28 21:32:24 +00:00
[email protected] 4dc6507c31 Fixed up includes to not depend on old content model classes 1998-09-24 21:37:45 +00:00
[email protected] e6e8cb665b forgot to add in last checkin 1998-09-23 17:44:33 +00:00