Commit Graph
47 Commits
Author SHA1 Message Date
joki@netscape.com 39b685f44a Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
peterl@netscape.com 83ae953e4a Cleaned up attribute parsing so that illegal values are preserved as strings 1999-07-24 19:55:35 +00:00
peterl@netscape.com 4b8df797a7 reworked attribute storage to seperate attributes mapped in to style from
those that aren't
This lets the style system optimize style contexts better.
1999-07-07 01:24:40 +00:00
kmcclusk@netscape.com 7d9f1cf8e0 bug #5993. Removed references to nsIWidget in form HTML content elements. the form elements
now go through the nsFormControlFrame interface instead. This removes the dependency between
form element content and nsIWidget.
1999-05-13 23:45:40 +00:00
evaughan@netscape.com 4a53848f65 Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses. 1999-05-13 01:35:16 +00:00
peterl@netscape.com bdc708df04 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
joki@netscape.com 3e1467d574 New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
karnaze@netscape.com f5e3a7b436 removed code to set margins on radio buttons and checkboxes. It is now done using attribute selectors in ua.css. 1999-03-14 17:39:58 +00:00
pollmann@netscape.com d60c62eb9e Fix bug #3375 and #3368: Allow hidden inputs and password inputs to store values. 1999-03-03 02:54:25 +00:00
joki@netscape.com 91bba1f092 Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
kmcclusk@netscape.com aa254ce0cc 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 74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
kmcclusk@netscape.com d7eefcc655 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
kmcclusk@netscape.com 5f4f3b6a36 Moved GetPrimaryFrame to nsGenericHTMLElement.
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values
1999-02-01 18:44:59 +00:00
pollmann@netscape.com 97c085e77f Initializing res. 1999-01-30 00:41:41 +00:00
kmcclusk@netscape.com c5bc518f3d Added return type to fix build bustage 1999-01-28 19:29:15 +00:00
kmcclusk@netscape.com 79593c4f72 Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
kmcclusk@netscape.com f70d8e0020 Added check for null nsFormControlFrame in GetChecked. This should fix the Mac
when viewing www.netscape.com
1999-01-28 00:36:43 +00:00
kmcclusk@netscape.com efa4d29836 Replaced defaultchecked with checked 1999-01-27 19:19:07 +00:00
kmcclusk@netscape.com a6e2f8b541 Modified GetDefaultChecked and SetDefaultChecked to get and set the checked
attribute.
1999-01-27 01:35:30 +00:00
kmcclusk@netscape.com 56893ccb4d Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
1999-01-27 00:51:46 +00:00
kmcclusk@netscape.com 7872bf3f18 Added GetPrimaryFrame utility method. 1999-01-26 23:43:52 +00:00
vidur@netscape.com 0dfa4cce69 Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML. 1999-01-14 23:14:02 +00:00
kmcclusk@netscape.com 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
rods@netscape.com 5ef941889a Added better default processing of hint 1998-12-21 13:29:32 +00:00
peterl@netscape.com 97d11c8a40 sync to new attribute api 1998-12-20 01:21:23 +00:00
rods@netscape.com 3d20da4b17 Fixed a bug I created in GetStyleHintForAttributeChange 1998-12-17 16:38:43 +00:00
rods@netscape.com 98a92e7c0e Added processing hint for the "value" attribute 1998-12-17 15:27:01 +00:00
rods@netscape.com e6b4e28433 Changed GetStyleHintForAttributeChange to return NS_STYLE_HINT_CONTENT
when there is a widget and return NS_STYLE_HINT_REFLOW when there isn't
1998-12-17 00:24:58 +00:00
nisheeth@netscape.com fe4e3f5be8 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent and implemented it in all the HTML content classes. The method is used by the HTML style sheet to get a style change hint from the content object when an attribute of the content object changes. 1998-12-10 23:52:46 +00:00
kipp@netscape.com a1b78fbf3b Fixed up handling of form element attributes slightly to match navigators handling of ALIGN; this is compatible with nav/IE and with the HTML4 DTD (because ALIGN is deprecated) 1998-11-23 19:33:22 +00:00
joki@netscape.com 961dde5654 Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +00:00
michaelp@netscape.com 614b76a37f changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
karnaze@netscape.com 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
troy@netscape.com 1d8c74aa43 Changed implementation of DefaultValue to use the value of the "value"
attribute
1998-11-07 17:46:12 +00:00
troy@netscape.com dfd3e797cc Added code to StringToAttribute() to handle "border" attribute 1998-11-07 05:27:39 +00:00
kipp@netscape.com b13ad81e80 Whompage to remove unused extra arg to the NS_IMPL_*_ATTR macros 1998-11-03 01:08:02 +00:00
karnaze@netscape.com 727b34198b preliminary support to keep text, radio, checkbox dom access in sync with widgets 1998-10-30 20:41:01 +00:00
karnaze@netscape.com fa55ae1d49 implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
vidur@netscape.com 8ea538c90c Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs 1998-10-20 17:07:23 +00:00
karnaze@netscape.com 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
karnaze@netscape.com 5d30e88b80 initial fieldset, legend content classes. minor cleanup on form control content. 1998-09-29 23:22:42 +00:00
karnaze@netscape.com 7b63e3793e Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
kipp@netscape.com 13c7864250 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
peterl@netscape.com ee52a0c367 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
kipp@netscape.com 0a0ba3241b Implement StringToAttribute/AttributeToString/MapAttributesInto; fix up name of embedded object 1998-09-03 22:21:32 +00:00
kipp@netscape.com 5e4902b8d1 Spanked 1998-09-02 23:53:16 +00:00