62 Commits

Author SHA1 Message Date
troy%netscape.com
1cb01c351a API change for pres shell
git-svn-id: svn://10.0.0.236/trunk@20579 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:22:08 +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
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
8934624982 Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters


git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
troy%netscape.com
d53851dcae Turned off some code until the frame construction code handles the case
where the replaced element that can't be rendered is floated or absolutely
positioned


git-svn-id: svn://10.0.0.236/trunk@20097 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 04:05:21 +00:00
joki%netscape.com
3ef9d11dac Checking in null check and assertion to handle the crashing on imagemap part of the Mac regression.
git-svn-id: svn://10.0.0.236/trunk@19896 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 02:07:49 +00:00
troy%netscape.com
155dd50f2c Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it


git-svn-id: svn://10.0.0.236/trunk@19860 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 18:25:29 +00:00
troy%netscape.com
1fa43367bb Work-in-progress for replaced elements that can't be rendered
git-svn-id: svn://10.0.0.236/trunk@19703 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:03:46 +00:00
troy%netscape.com
16f36b3214 Fixed leak of nsIHTMLDocument interface in GetImageMap()
git-svn-id: svn://10.0.0.236/trunk@19066 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:04:35 +00:00
troy%netscape.com
fdb78f4840 Changed TriggerLink() to release its reference to the nsILinkHandler interface,
and I changed HandleEvent() to make nsIURL interface returned by the call to
GetDocumentURL() is released


git-svn-id: svn://10.0.0.236/trunk@19057 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 00:34:06 +00:00
michaelp%netscape.com
2b18562cef modified for new DrawString()/GetWidth() APIs.
git-svn-id: svn://10.0.0.236/trunk@18902 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 05:03:58 +00:00
harishd%netscape.com
3c5ba1d382 PaintBorder() modified to accept styleContext
git-svn-id: svn://10.0.0.236/trunk@18354 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:26:29 +00:00
troy%netscape.com
fb1c8ede06 Part of the fix for bug #2485
git-svn-id: svn://10.0.0.236/trunk@17998 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 05:17:39 +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
7a0ed38a4e better base URL support
Checkin during red tree approved by sar


git-svn-id: svn://10.0.0.236/trunk@17821 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 01:57:58 +00:00
troy%netscape.com
ecc9f6f19d Removed the content-parent frame pointer. Now we just have the one geometric
parent


git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 05:16:23 +00:00
troy%netscape.com
e69d38cccb Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements


git-svn-id: svn://10.0.0.236/trunk@17644 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 06:37:31 +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
kipp%netscape.com
43e27c5332 Use nsImageMap
git-svn-id: svn://10.0.0.236/trunk@17413 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 00:13:19 +00:00
troy%netscape.com
641be3028f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"


git-svn-id: svn://10.0.0.236/trunk@17201 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:31:18 +00:00
kipp%netscape.com
31c482e2a8 Use macros from nsTextFragment
git-svn-id: svn://10.0.0.236/trunk@17198 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 23:02:27 +00:00
troy%netscape.com
c22f41cbf9 Changed width/height constraints in nsHTMLReflowState struct
git-svn-id: svn://10.0.0.236/trunk@16998 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 17:50:00 +00:00
troy%netscape.com
9a7f94d20b Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code


git-svn-id: svn://10.0.0.236/trunk@16924 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 03:38:16 +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
kipp%netscape.com
eaee82d4b3 Revised frame Paint API
git-svn-id: svn://10.0.0.236/trunk@16666 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 15:54:23 +00:00
harishd%netscape.com
5928b4de66 Changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing


git-svn-id: svn://10.0.0.236/trunk@15922 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-07 18:53:07 +00:00
troy%netscape.com
ab5a31d3a8 Removed some commented out old code
git-svn-id: svn://10.0.0.236/trunk@15760 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 03:46:59 +00:00
troy%netscape.com
01f27b2a31 Added Init() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@15682 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-03 06:31:43 +00:00
kipp%netscape.com
8c86fef2cd Let style override the cursor choice when using an image map
git-svn-id: svn://10.0.0.236/trunk@15182 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-23 22:21:13 +00:00
troy%netscape.com
b060981c1a Improved efficiency by avoiding the dreadfully slow NS_MakeAbsoluteURL() and
only setting the image loader's URL and base URL for the initial reflow


git-svn-id: svn://10.0.0.236/trunk@15100 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 04:04:41 +00:00
kipp%netscape.com
8e874e3769 Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame
git-svn-id: svn://10.0.0.236/trunk@15014 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:21:02 +00:00
troy%netscape.com
c3380a7354 Added temporary workaround to image frame code to compensate for the fact
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space


git-svn-id: svn://10.0.0.236/trunk@15002 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 06:31:55 +00:00
joki%netscape.com
f1462f4d55 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)


git-svn-id: svn://10.0.0.236/trunk@14864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:25:26 +00:00
peterl%netscape.com
01c47ed171 cleaned up cursor style handling
git-svn-id: svn://10.0.0.236/trunk@14845 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:11:54 +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
19d3032d70 Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface.
git-svn-id: svn://10.0.0.236/trunk@14640 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 00:21:19 +00:00
troy%netscape.com
b33787056b Changed GetLoadImageFailed() so it checks with the image loader rather
than just using the value of mLoadImageFailed. Fixes bug #1287


git-svn-id: svn://10.0.0.236/trunk@14614 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 21:31:50 +00:00
troy%netscape.com
98bfa2a63c Added check for SRC being an empty string
git-svn-id: svn://10.0.0.236/trunk@14598 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 18:38:16 +00:00
troy%netscape.com
ae5da1b1b1 Changed it so that if there's a NULL URL then we set the mLoadImageFailed
flag and don't try and load the broken image URL. Only on Windows for now
until Mac and Unix support the image icons


git-svn-id: svn://10.0.0.236/trunk@14596 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 17:00:54 +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
03e55a2524 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()


git-svn-id: svn://10.0.0.236/trunk@13833 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 01:29:00 +00:00
michaelp%netscape.com
29bd495725 changes to support nsIRenderingContext that conforms to COM conventions.
git-svn-id: svn://10.0.0.236/trunk@13703 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 02:08:25 +00:00
peterl%netscape.com
f82390981e renamed cursor defines
git-svn-id: svn://10.0.0.236/trunk@13502 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:14:17 +00:00
kipp%netscape.com
df3aef5b18 Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state
git-svn-id: svn://10.0.0.236/trunk@12578 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 17:00:32 +00:00
michaelp%netscape.com
6ba44ce798 fixed for new passing of pres context into API.
git-svn-id: svn://10.0.0.236/trunk@12535 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-11 00:58:53 +00:00
troy%netscape.com
e191c422d9 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure


git-svn-id: svn://10.0.0.236/trunk@11749 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:10:00 +00:00
michaelp%netscape.com
7c2022dc32 modified for new fontmetrics/renderingcontext.
git-svn-id: svn://10.0.0.236/trunk@11736 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 01:12:39 +00:00
troy%netscape.com
7eac0bfdac Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface


git-svn-id: svn://10.0.0.236/trunk@11646 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:46:11 +00:00
peterl%netscape.com
9b94d90eca moved attribute change code to style sheete
cleaned up content change api


git-svn-id: svn://10.0.0.236/trunk@11490 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:48:07 +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