44 Commits

Author SHA1 Message Date
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
buster%netscape.com
9bc057e191 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur


git-svn-id: svn://10.0.0.236/trunk@53975 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:24:15 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
peterl%netscape.com
f3c05f912b Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy


git-svn-id: svn://10.0.0.236/trunk@50919 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 04:05:59 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
kipp%netscape.com
99aaa55232 Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects
git-svn-id: svn://10.0.0.236/trunk@50066 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 00:35:04 +00:00
buster%netscape.com
fee0b64d1f fixed BodyFixupRule::MapStyleInto to respect background color properly
code-reviewed by Peter Linss


git-svn-id: svn://10.0.0.236/trunk@42643 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 05:38:28 +00:00
peterl%netscape.com
4c73c7609e Cleaned up attribute parsing so that illegal values are preserved as strings
git-svn-id: svn://10.0.0.236/trunk@40994 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 19:55:35 +00:00
peterl%netscape.com
27453e4edf fix color handling
git-svn-id: svn://10.0.0.236/trunk@39939 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:20:27 +00:00
peterl%netscape.com
c4bfbf18ff reworked attribute storage to seperate attributes mapped in to style from
those that aren't
This lets the style system optimize style contexts better.


git-svn-id: svn://10.0.0.236/trunk@38541 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:24:40 +00:00
kipp%netscape.com
14245ab0dc Removed white-space stripping from href's/backgrounds/etc to fix bug #8319
git-svn-id: svn://10.0.0.236/trunk@38372 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 21:14:37 +00:00
peterl%netscape.com
262c024b61 changed initialization of basefont so as not to override font style on HTML elements
git-svn-id: svn://10.0.0.236/trunk@35703 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:15:01 +00:00
peterl%netscape.com
438c25b48d sync to nsIStyledContent API change
git-svn-id: svn://10.0.0.236/trunk@32800 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:46:45 +00:00
peterl%netscape.com
8e868f4143 fixed background propogation code to replace previously propogated background info
git-svn-id: svn://10.0.0.236/trunk@29647 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:51:38 +00:00
troy%netscape.com
4756273f12 Changed MapStyleInto() to also reset mBackgroundAttachment when resetting
the BODY's background properties


git-svn-id: svn://10.0.0.236/trunk@28533 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:39:47 +00:00
bruce%cybersight.com
fc7ac0c770 Fix for ANSI C++ compliance: friend foo -> friend class foo
git-svn-id: svn://10.0.0.236/trunk@28428 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:16:46 +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
troy%netscape.com
21c4de642c Fix for bug #4434
git-svn-id: svn://10.0.0.236/trunk@25652 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:13:24 +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
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
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
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
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
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
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
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
peterl%netscape.com
5683510533 moved body fixup rule into content
git-svn-id: svn://10.0.0.236/trunk@15577 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 00:34:06 +00:00
kipp%netscape.com
c98e60be06 Port to revised pres-context API
git-svn-id: svn://10.0.0.236/trunk@15372 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 18:14:41 +00:00
peterl%netscape.com
383116acf6 style change notification support
git-svn-id: svn://10.0.0.236/trunk@15337 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:34:53 +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
vidur%netscape.com
84598f1f88 Factored GetAttributStyleSheet method into separate nsHTMLContentContainer interface that can be implemented by both HTML and XML document classes.
git-svn-id: svn://10.0.0.236/trunk@14502 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 07:54:12 +00:00
kipp%netscape.com
fe24aed36f Repaired marginwidth/marginheight handling code
git-svn-id: svn://10.0.0.236/trunk@14283 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 17:51:05 +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
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
peterl%netscape.com
a1eec07558 fixed bugs dealing with string color values
git-svn-id: svn://10.0.0.236/trunk@10229 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:18:57 +00:00
peterl%netscape.com
6b3b4ad6ca added strength api to style rule
git-svn-id: svn://10.0.0.236/trunk@9805 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 02:07:58 +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