45 Commits

Author SHA1 Message Date
peterl%netscape.com
b785a26b0a use loose hex to rgb color conversion for color parsing
git-svn-id: svn://10.0.0.236/trunk@12253 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 01:28:18 +00:00
kipp%netscape.com
07bee3eb41 Support onPaint
git-svn-id: svn://10.0.0.236/trunk@12078 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 21:01:59 +00:00
vidur%netscape.com
f98b82c871 Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports.
git-svn-id: svn://10.0.0.236/trunk@11996 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:39:33 +00:00
peterl%netscape.com
2b7136b4b7 added hint to attribute change notification
git-svn-id: svn://10.0.0.236/trunk@11491 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:48:38 +00:00
kipp%netscape.com
d280ea2fa3 Parse OL/UL type=A|a|I|i properly
git-svn-id: svn://10.0.0.236/trunk@11456 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:34:30 +00:00
vidur%netscape.com
91958a5028 Fixed image.src=. Forwarded AttributeChanged notifications from nsPlaceholderFrame to its anchored item. Got rid of redundant calls to AttributeChanged.
git-svn-id: svn://10.0.0.236/trunk@11271 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 21:22:31 +00:00
vidur%netscape.com
d188bf56ad More leak fixes
git-svn-id: svn://10.0.0.236/trunk@11132 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-26 00:44:40 +00:00
vidur%netscape.com
ae2d56cabc Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration.
git-svn-id: svn://10.0.0.236/trunk@11002 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:51:45 +00:00
kipp%netscape.com
966b872fec Eliminate SetAttr/UnsetAttr; use standard 3arg version now; leave the attribute impl macros alone for now; pass on attribute changes to the document when aNotify is PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@10964 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:35:52 +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
9faf57d773 Removed dead includes
git-svn-id: svn://10.0.0.236/trunk@10756 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 02:32:43 +00:00
buster%netscape.com
647a672694 added "center" to table horizontal align attribute as a legal value, although the HTML4 spec
says "middle" for h-align and "center" for v-align.  But Nav4 and IE both accept "center" as
well as "middle", so now we do too.


git-svn-id: svn://10.0.0.236/trunk@10594 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:34:30 +00:00
buster%netscape.com
41b4acb09b made sure that all attributes respect their minimum values as per HTML 4 spec.
fixed some comments.


git-svn-id: svn://10.0.0.236/trunk@10442 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 22:39:16 +00:00
troy%netscape.com
d670e0e0a8 Removed CreateFrame() from nsIHTMLContent
git-svn-id: svn://10.0.0.236/trunk@10419 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 18:04:42 +00:00
troy%netscape.com
b0bdb9e357 Removed nsIContentDelegate.h
git-svn-id: svn://10.0.0.236/trunk@10418 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 17:34:48 +00:00
troy%netscape.com
b60923ad33 Removed content delegates
git-svn-id: svn://10.0.0.236/trunk@10417 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-18 17:18:37 +00:00
rpotts%netscape.com
435c373c8d Fixed up usage of the NS_RELEASE2(...) macro.
git-svn-id: svn://10.0.0.236/trunk@10247 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 05:40:57 +00:00
troy%netscape.com
9ec1729d6e Cleaned up frame construction code
git-svn-id: svn://10.0.0.236/trunk@10243 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 04:07:58 +00:00
vidur%netscape.com
e792ef87b8 Added constructors for DOM JS classes. nsIScriptObjectOwner::ResetScriptObject is now SetScriptObject. New factory for layout. New interface nsIDOMNativeObjectRegistry.
git-svn-id: svn://10.0.0.236/trunk@10238 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 01:53:52 +00:00
joki%netscape.com
cc5aacfa27 More support for capturing, minor adjustments to window.open behavior.
git-svn-id: svn://10.0.0.236/trunk@10077 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 21:31:58 +00:00
buster%netscape.com
1c8d847337 nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content


git-svn-id: svn://10.0.0.236/trunk@10047 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 17:58:24 +00:00
kipp%netscape.com
6a52b74171 Removed css/layout directory
git-svn-id: svn://10.0.0.236/trunk@10015 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 00:19:49 +00:00
vidur%netscape.com
854414df4f Got rid of Construct method from nsIJSScriptObject interface. Added first-pass implementation of reflow case to nsGenericHTMLElement::SetAttr.
git-svn-id: svn://10.0.0.236/trunk@10004 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 23:02:32 +00:00
rpotts%netscape.com
512857d619 Fixed some reference counting problems introduced by the rev 1.20 check in...
git-svn-id: svn://10.0.0.236/trunk@9968 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-14 05:43:54 +00:00
kipp%netscape.com
83c8cc1fae Work around crash bug with content delegate
git-svn-id: svn://10.0.0.236/trunk@9957 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 23:30:23 +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
b1b127a551 properly release doc & style sheet when setting attributes
git-svn-id: svn://10.0.0.236/trunk@9922 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:42:44 +00:00
kipp%netscape.com
1f0fa5c437 inlined IsSynthetic implementation AND made it work
git-svn-id: svn://10.0.0.236/trunk@9823 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 05:38:25 +00:00
kipp%netscape.com
fe3e1e70ce Check in of somewhat bogus handling of the notify values (which is going away!)
git-svn-id: svn://10.0.0.236/trunk@9814 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:16:18 +00:00
troy%netscape.com
0c4b9521d5 Phase one of frame construction changes
git-svn-id: svn://10.0.0.236/trunk@9742 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:32:14 +00:00
vidur%netscape.com
59e74e9373 Got rid of extra release in Item() method of childNodes array of nsGenericHTMLContent
git-svn-id: svn://10.0.0.236/trunk@9735 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 17:51:30 +00:00
vidur%netscape.com
6ea82397a3 Fixes to get Rotate.html working
git-svn-id: svn://10.0.0.236/trunk@9732 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 17:11:46 +00:00
peterl%netscape.com
4a2003b48a added to string support for style= attributes
git-svn-id: svn://10.0.0.236/trunk@9700 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:15:23 +00:00
karnaze%netscape.com
e382cf5f41 converted frame/iframe/frameset to new layout/content separation
git-svn-id: svn://10.0.0.236/trunk@9679 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:30:30 +00:00
vidur%netscape.com
5e856a67d9 Added nsIJSScriptObject interface to nsGenericHTMLContent class and fixed element.childNodes
git-svn-id: svn://10.0.0.236/trunk@9669 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 21:02:42 +00:00
kipp%netscape.com
e2c7517492 Use NS_NewBodyFrame and NS_NewHTMLFrame
git-svn-id: svn://10.0.0.236/trunk@9562 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:37:24 +00:00
kipp%netscape.com
652229634f Expose NS_QuoteForHTML; remove duplicate frame ctor method decls
git-svn-id: svn://10.0.0.236/trunk@9449 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:19:14 +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
vidur%netscape.com
c849307960 New content code adjusts to getting script objects through a factory interface
git-svn-id: svn://10.0.0.236/trunk@9387 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:03:16 +00:00
kipp%netscape.com
72917f8f44 Added WBR
git-svn-id: svn://10.0.0.236/trunk@9308 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 01:02:30 +00:00
kipp%netscape.com
507cb508d7 Create a spacer frame for spacer parts
git-svn-id: svn://10.0.0.236/trunk@9306 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:55:47 +00:00
kipp%netscape.com
859eb894bc Create image frames for images
git-svn-id: svn://10.0.0.236/trunk@9287 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:19:32 +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
a0783a4a5a Fixed SetAttribute where the leaf classes StringToAttribute wasn't being called
git-svn-id: svn://10.0.0.236/trunk@9175 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 00:03:58 +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