280 Commits

Author SHA1 Message Date
valeski%netscape.com
4fa4e2e84d NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
mjudge%netscape.com
ff933f4f73 adding in selection of non text frames in editor only
git-svn-id: svn://10.0.0.236/trunk@31872 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:21:18 +00:00
kipp%netscape.com
de60169b67 Reworked frame factory methods; fixed bug 4519
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
kipp%netscape.com
a36b592bda Disable mapping frames into text when they don't render properly until troy gets back....
git-svn-id: svn://10.0.0.236/trunk@30963 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:04:18 +00:00
av%netscape.com
4ea2ce2b72 Getting back check for data attribute in image frames
git-svn-id: svn://10.0.0.236/trunk@30445 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:40:21 +00:00
kipp%netscape.com
70bd41273e Always init the image loader (fixes bug #5238); don't load images with zero set dimensions (bug #5381); cancel extraneous reflows to improve performance
git-svn-id: svn://10.0.0.236/trunk@28928 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:00:14 +00:00
rickg%netscape.com
1620c29fb0 updates to sync with nsString2 api
git-svn-id: svn://10.0.0.236/trunk@28570 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:35:12 +00:00
kipp%netscape.com
5f11044d37 Support aspect scaling everywhere; elminate win32 ifdefs; use revised image loading apis
git-svn-id: svn://10.0.0.236/trunk@27387 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:51:20 +00:00
joki%netscape.com
6c59f19391 New api's into nsEventStateManager for content state change (hover,focus,active)
git-svn-id: svn://10.0.0.236/trunk@27211 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 21:24:07 +00:00
kipp%netscape.com
679c72ba3d Support clip property
git-svn-id: svn://10.0.0.236/trunk@27029 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 17:32:33 +00:00
av%netscape.com
86e05235be Cleaning up
git-svn-id: svn://10.0.0.236/trunk@26397 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:16:53 +00:00
troy%netscape.com
740598490c Changed nsHTMLImageLoader::StartLoadImage() to just use mURLSpec as the
absolute URL if mBaseURL is NULL, and not call NS_MakeAbsoluteURL.
This fixes a crash


git-svn-id: svn://10.0.0.236/trunk@26209 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-04 05:56:23 +00:00
kipp%netscape.com
9e4c4cb1e3 Whacked paint methods to use new constants
git-svn-id: svn://10.0.0.236/trunk@25154 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:35 +00:00
av%netscape.com
40af69629d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@22258 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 00:57:04 +00:00
kipp%netscape.com
b8539e233b Support limited scaling of images on unix
git-svn-id: svn://10.0.0.236/trunk@22132 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:07:28 +00:00
troy%netscape.com
f293c578fd Changed nsIFrame::Init() to take an additional parameter
git-svn-id: svn://10.0.0.236/trunk@21843 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 03:27:57 +00:00
kipp%netscape.com
59a8c9178d Removed a skid mark
git-svn-id: svn://10.0.0.236/trunk@21104 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:26:42 +00:00
kipp%netscape.com
1e83ecb886 Detect errors more often by prioritizing its status over size-available
git-svn-id: svn://10.0.0.236/trunk@21103 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 03:26:19 +00:00
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