kmcclusk%netscape.com
7972adcafd
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.
git-svn-id: svn://10.0.0.236/trunk@31518 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:45:40 +00:00
evaughan%netscape.com
6073e2aa13
Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses.
...
git-svn-id: svn://10.0.0.236/trunk@31365 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:35:16 +00:00
peterl%netscape.com
ae015c0f0f
split font style mapping from regular style mapping
...
git-svn-id: svn://10.0.0.236/trunk@27701 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 21:23:05 +00:00
joki%netscape.com
6c59f19391
New api's into nsEventStateManager for content state change (hover,focus,active)
...
git-svn-id: svn://10.0.0.236/trunk@27211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:24:07 +00:00
karnaze%netscape.com
fe3b92e60b
removed code to set margins on radio buttons and checkboxes. It is now done using attribute selectors in ua.css.
...
git-svn-id: svn://10.0.0.236/trunk@24115 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 17:39:58 +00:00
pollmann%netscape.com
7692e0c4c1
Fix bug #3375 and #3368 : Allow hidden inputs and password inputs to store values.
...
git-svn-id: svn://10.0.0.236/trunk@22680 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 02:54:25 +00:00
joki%netscape.com
e62bbe65fe
Adding new tab handling and focus support.
...
git-svn-id: svn://10.0.0.236/trunk@22599 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:19:24 +00:00
kmcclusk%netscape.com
e999bd483b
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.
git-svn-id: svn://10.0.0.236/trunk@21055 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:13:39 +00:00
kipp%netscape.com
9b917419dc
COMized nsIPresShell and nsIPresContext
...
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
kmcclusk%netscape.com
4f668b7081
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.
git-svn-id: svn://10.0.0.236/trunk@20325 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 01:13:28 +00:00
kmcclusk%netscape.com
1b772da460
Moved GetPrimaryFrame to nsGenericHTMLElement.
...
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values
git-svn-id: svn://10.0.0.236/trunk@19185 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:44:59 +00:00
pollmann%netscape.com
f4497fe28c
Initializing res.
...
git-svn-id: svn://10.0.0.236/trunk@19060 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:41:41 +00:00
kmcclusk%netscape.com
10133bbe45
Added return type to fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@18933 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 19:29:15 +00:00
kmcclusk%netscape.com
94fed2f8e2
Modified nsHTMLInputElement text fields to go through nsTextControlFrame
...
for SetValue and GetValue
git-svn-id: svn://10.0.0.236/trunk@18930 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 18:58:11 +00:00
kmcclusk%netscape.com
bf6927a2a4
Added check for null nsFormControlFrame in GetChecked. This should fix the Mac
...
when viewing www.netscape.com
git-svn-id: svn://10.0.0.236/trunk@18854 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 00:36:43 +00:00
kmcclusk%netscape.com
30f6f5db1a
Replaced defaultchecked with checked
...
git-svn-id: svn://10.0.0.236/trunk@18805 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 19:19:07 +00:00
kmcclusk%netscape.com
78f31b3921
Modified GetDefaultChecked and SetDefaultChecked to get and set the checked
...
attribute.
git-svn-id: svn://10.0.0.236/trunk@18689 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 01:35:30 +00:00
kmcclusk%netscape.com
bb135eae27
Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
...
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@18681 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:51:46 +00:00
kmcclusk%netscape.com
6550e9da04
Added GetPrimaryFrame utility method.
...
git-svn-id: svn://10.0.0.236/trunk@18651 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:43:52 +00:00
vidur%netscape.com
d81e61b1ff
Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML.
...
git-svn-id: svn://10.0.0.236/trunk@17775 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:14:02 +00:00
kmcclusk%netscape.com
2a00ad3de1
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.)
git-svn-id: svn://10.0.0.236/trunk@17202 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:02:27 +00:00
rods%netscape.com
3d2ee270ed
Added better default processing of hint
...
git-svn-id: svn://10.0.0.236/trunk@16744 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 13:29:32 +00:00
peterl%netscape.com
52a0043631
sync to new attribute api
...
git-svn-id: svn://10.0.0.236/trunk@16723 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 01:21:23 +00:00
rods%netscape.com
92cead7b60
Fixed a bug I created in GetStyleHintForAttributeChange
...
git-svn-id: svn://10.0.0.236/trunk@16573 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 16:38:43 +00:00
rods%netscape.com
53c8b2569f
Added processing hint for the "value" attribute
...
git-svn-id: svn://10.0.0.236/trunk@16566 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 15:27:01 +00:00
rods%netscape.com
a26d808264
Changed GetStyleHintForAttributeChange to return NS_STYLE_HINT_CONTENT
...
when there is a widget and return NS_STYLE_HINT_REFLOW when there isn't
git-svn-id: svn://10.0.0.236/trunk@16546 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 00:24:58 +00:00
nisheeth%netscape.com
51147256cd
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.
...
git-svn-id: svn://10.0.0.236/trunk@16185 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 23:52:46 +00:00
kipp%netscape.com
e3e78619d0
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)
...
git-svn-id: svn://10.0.0.236/trunk@15171 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 19:33:22 +00:00
joki%netscape.com
fe983ab777
Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug.
...
git-svn-id: svn://10.0.0.236/trunk@15081 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 00:19:36 +00:00
michaelp%netscape.com
25149e78ea
changes for pixel scaling/printing.
...
git-svn-id: svn://10.0.0.236/trunk@14647 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:52:27 +00:00
karnaze%netscape.com
c723661f91
form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
...
added nsImageControlFrame to handle <input type=image>.
git-svn-id: svn://10.0.0.236/trunk@14312 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 23:30:16 +00:00
troy%netscape.com
221ed4cb8d
Changed implementation of DefaultValue to use the value of the "value"
...
attribute
git-svn-id: svn://10.0.0.236/trunk@14240 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:46:12 +00:00
troy%netscape.com
d83f2d34ad
Added code to StringToAttribute() to handle "border" attribute
...
git-svn-id: svn://10.0.0.236/trunk@14233 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 05:27:39 +00:00
kipp%netscape.com
f797cb3825
Whompage to remove unused extra arg to the NS_IMPL_*_ATTR macros
...
git-svn-id: svn://10.0.0.236/trunk@13946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 01:08:02 +00:00
karnaze%netscape.com
5c932baf63
preliminary support to keep text, radio, checkbox dom access in sync with widgets
...
git-svn-id: svn://10.0.0.236/trunk@13739 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 20:41:01 +00:00
karnaze%netscape.com
d89b691fba
implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls.
...
git-svn-id: svn://10.0.0.236/trunk@13346 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 23:00:37 +00:00
vidur%netscape.com
a0e09b1568
Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs
...
git-svn-id: svn://10.0.0.236/trunk@13207 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 17:07:23 +00:00
karnaze%netscape.com
fd96ba4fea
fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress.
...
git-svn-id: svn://10.0.0.236/trunk@12735 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:31:26 +00:00
karnaze%netscape.com
ea20d275db
initial fieldset, legend content classes. minor cleanup on form control content.
...
git-svn-id: svn://10.0.0.236/trunk@11476 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:22:42 +00:00
karnaze%netscape.com
ea90ff591e
Converted forms to use the new content model classes and better separate content from layout.
...
git-svn-id: svn://10.0.0.236/trunk@10800 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:16:51 +00:00
kipp%netscape.com
10b6617c48
Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros
...
git-svn-id: svn://10.0.0.236/trunk@9955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:33:48 +00:00
peterl%netscape.com
c728b9f01f
changed the way map attributes into is connected
...
git-svn-id: svn://10.0.0.236/trunk@9412 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-05 04:00:06 +00:00
kipp%netscape.com
18a14d6bf5
Implement StringToAttribute/AttributeToString/MapAttributesInto; fix up name of embedded object
...
git-svn-id: svn://10.0.0.236/trunk@9261 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:21:32 +00:00
kipp%netscape.com
af61e4b99f
Spanked
...
git-svn-id: svn://10.0.0.236/trunk@9173 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 23:53:16 +00:00