361 Commits

Author SHA1 Message Date
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
kipp%netscape.com
375d1ffa3e Added some whitespace
git-svn-id: svn://10.0.0.236/trunk@17422 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:16:07 +00:00
kipp%netscape.com
b793ab7603 Reformatted a comment
git-svn-id: svn://10.0.0.236/trunk@17421 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:15:54 +00:00
karnaze%netscape.com
35bfe95ab7 dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState
git-svn-id: svn://10.0.0.236/trunk@17382 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 18:57:40 +00:00
troy%netscape.com
4ccdea739f Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets


git-svn-id: svn://10.0.0.236/trunk@17372 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 04:47:46 +00:00
troy%netscape.com
cf5cfbf04e Fix for bug #2054. If the HTML element's background is 'transparent' then it
uses the BODY's background property


git-svn-id: svn://10.0.0.236/trunk@17351 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-08 01:14:59 +00:00
brade%netscape.com
1e8cf12dc5 reduce Macintosh compiler warnings by adding prototype
git-svn-id: svn://10.0.0.236/trunk@17246 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:53:59 +00:00
brade%netscape.com
c4842cd1a6 reduce Macintosh compiler warnings by making function static/private
git-svn-id: svn://10.0.0.236/trunk@17244 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:51:16 +00:00
brade%netscape.com
e1d099f21d reduce Macintosh compiler warnings by adding prototype
git-svn-id: svn://10.0.0.236/trunk@17240 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:44:59 +00:00
brade%netscape.com
e4f050d6fc reduce Macintosh compiler warnings by adding prototypes
git-svn-id: svn://10.0.0.236/trunk@17236 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 18:39:52 +00:00
peterl%netscape.com
4ebd31d6c5 fixed namespace used for attributes via the DOM apis
capture style hint data when setting style attribute


git-svn-id: svn://10.0.0.236/trunk@17214 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 01:24:49 +00:00
vidur%netscape.com
8bfeeda06f Fix for bug 1954. Cloned text nodes (and comments) carry along the original data
git-svn-id: svn://10.0.0.236/trunk@17212 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:57:17 +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
jfrancis%netscape.com
b14dce6190 bug fixing range gravity code; general cleanup
git-svn-id: svn://10.0.0.236/trunk@17097 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 16:48:33 +00:00
jfrancis%netscape.com
e2914acc38 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@17094 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 15:24:31 +00:00
jfrancis%netscape.com
4cb9ee6bab disabling some range stuff while I fix it
git-svn-id: svn://10.0.0.236/trunk@17093 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 13:06:43 +00:00
buster%netscape.com
56a7cf3ab3 fixed bug 1999, frame="void" was removing cell borders as well as the table frame
git-svn-id: svn://10.0.0.236/trunk@17081 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 22:30:23 +00:00
jfrancis%netscape.com
d1bebf1bc5 adding range gravity for dom text nodes
git-svn-id: svn://10.0.0.236/trunk@17076 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-03 14:29:54 +00:00