828 Commits

Author SHA1 Message Date
vidur%netscape.com
83118f458a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy.
git-svn-id: svn://10.0.0.236/trunk@22445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:57:35 +00:00
hyatt%netscape.com
6d1d5f3315 Modified HTML content's QueryInterface macro to supported nsIStyledContent.
git-svn-id: svn://10.0.0.236/trunk@22274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 01:36:41 +00:00
vidur%netscape.com
9270605250 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests.
git-svn-id: svn://10.0.0.236/trunk@21947 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:14:35 +00:00
vidur%netscape.com
c1da744044 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change).
git-svn-id: svn://10.0.0.236/trunk@21624 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 19:18:12 +00:00
mcafee%netscape.com
1f7994d9de Solaris needs newline at end of file.
git-svn-id: svn://10.0.0.236/trunk@21262 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 02:43:26 +00:00
cyeh%netscape.com
7d89e840e2 Remove mozilla/layout/config and use mozilla/config instead.
git-svn-id: svn://10.0.0.236/trunk@21159 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 18:16:21 +00:00
kipp%netscape.com
fa4db70f26 Fixed up alignment mappings
git-svn-id: svn://10.0.0.236/trunk@21108 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:28:55 +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
vidur%netscape.com
0556407675 Implemented the correct content model for the TITLE element and allowed for dynamic change.
git-svn-id: svn://10.0.0.236/trunk@21050 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-17 23:56:55 +00:00
nisheeth%netscape.com
cd8aba491a Added style hints for DOM attribute changes to the FONT and BASEFONT content objects.
git-svn-id: svn://10.0.0.236/trunk@20743 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 23:48:09 +00:00
nisheeth%netscape.com
e3f2944049 - Changed name of getter function for style hints to GetStyleHintForAttributeChange().
- Plugged in style hint for changes to the <HR NOSHADE> attribute.


git-svn-id: svn://10.0.0.236/trunk@20724 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-15 06:42:44 +00:00
troy%netscape.com
176116b148 Fixed some errors related to switch to using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:26 +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
peterl%netscape.com
38427deaa9 changed all html atoms to lower case
git-svn-id: svn://10.0.0.236/trunk@20542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:19:07 +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
vidur%netscape.com
37fc0ea58e Hooked up style hint for id, class and dir
git-svn-id: svn://10.0.0.236/trunk@19868 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 19:55:56 +00:00
vidur%netscape.com
1349b5dad4 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work
git-svn-id: svn://10.0.0.236/trunk@19537 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:38:16 +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
karnaze%netscape.com
6ff27d1704 Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.


git-svn-id: svn://10.0.0.236/trunk@19080 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 15:52:19 +00:00
peterl%netscape.com
5519426ab4 fixed namespace
git-svn-id: svn://10.0.0.236/trunk@19078 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 06:22:39 +00:00
peterl%netscape.com
07059872ed accept namespace none for attributes
git-svn-id: svn://10.0.0.236/trunk@19077 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 06:21:08 +00:00
pollmann%netscape.com
59abb71e8d Bug 2716, 2792, 1190, 1750: Wired up selected, defaultSelected, and selectedIndex.
git-svn-id: svn://10.0.0.236/trunk@19063 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:02:28 +00:00
pollmann%netscape.com
ade8d4eb9b Bug 2788: Crash on leaving page where js references named options.
git-svn-id: svn://10.0.0.236/trunk@19062 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:53:53 +00:00
pollmann%netscape.com
fa6a076134 Bug 2787: Crash on js accessing option index out of range.
git-svn-id: svn://10.0.0.236/trunk@19061 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:51:10 +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
joki%netscape.com
5d1ef109ba Removing nsILinkHandler enum types from dependencies, fixing event handler bugs
git-svn-id: svn://10.0.0.236/trunk@18961 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:14:36 +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
rods%netscape.com
40a68b95fc Commented out the MACRO for for settting and getting the disabled attribute
I implemented them fully so I code set the "disabled" pseudo-class properly


git-svn-id: svn://10.0.0.236/trunk@18728 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:13:44 +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
peterl%netscape.com
e67550003e only parse style attributes if doc style language is text/css
git-svn-id: svn://10.0.0.236/trunk@18427 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:04:28 +00:00
harishd%netscape.com
3dea579ecf StyleContext info. is passed on into PaintBorder()
git-svn-id: svn://10.0.0.236/trunk@18357 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:30:02 +00:00
karnaze%netscape.com
3b1d92015b <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working
git-svn-id: svn://10.0.0.236/trunk@18018 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 17:26:06 +00:00
vidur%netscape.com
582f32db7a Started implementation of Node properties and methods for documents.
git-svn-id: svn://10.0.0.236/trunk@18013 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 16:58:45 +00:00
vidur%netscape.com
d39be21072 Made unparented nodes outside the document return a new document fragment as parent. Inserting a node into a tree removes it from its previous position
git-svn-id: svn://10.0.0.236/trunk@17996 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 03:54:26 +00:00
kipp%netscape.com
4e355995e6 Spanked away SizeOf methods and nsIListFilter
git-svn-id: svn://10.0.0.236/trunk@17895 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-16 00:00:50 +00:00
peterl%netscape.com
6f8531ba11 better base url support
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17829 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 02:07:46 +00:00
peterl%netscape.com
7f81a64fe4 better base URL support
set base url when parsing style attributes
better style attribute change notification

Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17823 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:59:42 +00:00
peterl%netscape.com
404b08681a made font color also set text decoration color
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17822 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:58:41 +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
troy%netscape.com
5caea33110 Fix for bug #2316. Added back some code I removed because I didn't think we
needed it, but without out it 'color' doesn't inherit properly


git-svn-id: svn://10.0.0.236/trunk@17701 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:14:11 +00:00
vidur%netscape.com
c5e776a818 Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent
git-svn-id: svn://10.0.0.236/trunk@17582 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:37:24 +00:00
troy%netscape.com
4c4c2ea13a Fix for bug #2285. Just reseting the mFlags isn't enough, because the PaintBackground()
member function ignores the flags and checks for a non-empty URL. This way is safer and
should work in all cases


git-svn-id: svn://10.0.0.236/trunk@17502 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-11 19:44:22 +00:00
troy%netscape.com
73dcbfbee5 Hooked up marginwidth and marginheight attributes to change the 'margin'
property instead of the 'padding' property


git-svn-id: svn://10.0.0.236/trunk@17448 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 04:31:51 +00:00
kipp%netscape.com
907e445ae7 Implement GetAreas; cleanup some whitespace; removed some out of date comments
git-svn-id: svn://10.0.0.236/trunk@17426 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:17:07 +00:00
kipp%netscape.com
71b47e4756 Removed a spurious Addref of an atom
git-svn-id: svn://10.0.0.236/trunk@17425 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:16:42 +00:00