Commit graph

174 commits

Author SHA1 Message Date
rickg%netscape.com
85e7dbb767 updates to sync with nsString2 api 1999-04-21 23:35:12 +00:00
kipp%netscape.com
2c74cc715a Support aspect scaling everywhere; elminate win32 ifdefs; use revised image loading apis 1999-04-13 21:51:20 +00:00
joki%netscape.com
b6f2484b5b New api's into nsEventStateManager for content state change (hover,focus,active) 1999-04-12 21:24:07 +00:00
kipp%netscape.com
3b2b1ba2b2 Support clip property 1999-04-10 17:32:33 +00:00
av%netscape.com
77d2952691 Cleaning up 1999-04-06 01:16:53 +00:00
troy%netscape.com
a01ec4ae35 Changed nsHTMLImageLoader::StartLoadImage() to just use mURLSpec as the
absolute URL if mBaseURL is NULL, and not call NS_MakeAbsoluteURL.
This fixes a crash
1999-04-04 05:56:23 +00:00
kipp%netscape.com
60f52440cb Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
av%netscape.com
e845f0123f *** empty log message *** 1999-02-27 00:57:04 +00:00
kipp%netscape.com
99df251883 Support limited scaling of images on unix 1999-02-26 17:07:28 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
kipp%netscape.com
7a4a4efc3d Removed a skid mark 1999-02-18 03:26:42 +00:00
kipp%netscape.com
76efa6ea05 Detect errors more often by prioritizing its status over size-available 1999-02-18 03:26:19 +00:00
troy%netscape.com
fcbd2edc14 API change for pres shell 1999-02-12 18:22:08 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com
9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
troy%netscape.com
aaff26f78e 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
1999-02-09 04:05:21 +00:00
joki%netscape.com
7a1bff7611 Checking in null check and assertion to handle the crashing on imagemap part of the Mac regression. 1999-02-06 02:07:49 +00:00
troy%netscape.com
b8205354d1 Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it
1999-02-05 18:25:29 +00:00
troy%netscape.com
bcc69e2898 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
troy%netscape.com
f2d3dd631e Fixed leak of nsIHTMLDocument interface in GetImageMap() 1999-01-30 01:04:35 +00:00
troy%netscape.com
bb2686580f 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
1999-01-30 00:34:06 +00:00
michaelp%netscape.com
0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
harishd%netscape.com
d913194001 PaintBorder() modified to accept styleContext 1999-01-22 22:26:29 +00:00
troy%netscape.com
0c55cb8b0e Part of the fix for bug #2485 1999-01-19 05:17:39 +00:00
kipp%netscape.com
7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
peterl%netscape.com
e86b440abd better base URL support
Checkin during red tree approved by sar
1999-01-15 01:57:58 +00:00
troy%netscape.com
036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com
5c75ea66f0 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
vidur%netscape.com
274a4add3e 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 1999-01-12 16:37:24 +00:00
kipp%netscape.com
19e73d1f62 Use nsImageMap 1999-01-09 00:13:19 +00:00
troy%netscape.com
4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com
844a41c615 Use macros from nsTextFragment 1999-01-05 23:02:27 +00:00
troy%netscape.com
4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
troy%netscape.com
7b5cc03059 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
peterl%netscape.com
887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
harishd%netscape.com
d87392317e Changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing
1998-12-07 18:53:07 +00:00
troy%netscape.com
b7a4774af0 Removed some commented out old code 1998-12-04 03:46:59 +00:00
troy%netscape.com
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
kipp%netscape.com
2fb0e7ca92 Let style override the cursor choice when using an image map 1998-11-23 22:21:13 +00:00
troy%netscape.com
9b6b15c587 Improved efficiency by avoiding the dreadfully slow NS_MakeAbsoluteURL() and
only setting the image loader's URL and base URL for the initial reflow
1998-11-21 04:04:41 +00:00
kipp%netscape.com
8a2735c01b Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame 1998-11-20 17:21:02 +00:00
troy%netscape.com
79aed9646d 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
1998-11-20 06:31:55 +00:00
joki%netscape.com
77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl%netscape.com
265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com
d5fc2aaaea Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
troy%netscape.com
87eff9d2bf Changed GetLoadImageFailed() so it checks with the image loader rather
than just using the value of mLoadImageFailed. Fixes bug #1287
1998-11-13 21:31:50 +00:00
troy%netscape.com
59a9e518ba Added check for SRC being an empty string 1998-11-13 18:38:16 +00:00
troy%netscape.com
36fd247c25 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
1998-11-13 17:00:54 +00:00
karnaze%netscape.com
aec75f892e form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com
fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
michaelp%netscape.com
fc225bf7c1 changes to support nsIRenderingContext that conforms to COM conventions. 1998-10-30 02:08:25 +00:00
peterl%netscape.com
04a0fce0ba renamed cursor defines 1998-10-26 23:14:17 +00:00
kipp%netscape.com
a77548baff Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
michaelp%netscape.com
cb569a69be fixed for new passing of pres context into API. 1998-10-11 00:58:53 +00:00
troy%netscape.com
7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com
9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
troy%netscape.com
ba3c7125c2 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
peterl%netscape.com
7891e67337 moved attribute change code to style sheete
cleaned up content change api
1998-09-29 23:48:07 +00:00
vidur%netscape.com
446dec40b6 Fixed image.src=. Forwarded AttributeChanged notifications from nsPlaceholderFrame to its anchored item. Got rid of redundant calls to AttributeChanged. 1998-09-28 21:22:31 +00:00
kipp%netscape.com
2978482ce0 Fixed mac/unix build problem 1998-09-26 22:48:52 +00:00
kipp%netscape.com
bb57a6d08f Added callback to image loading api 1998-09-26 18:36:59 +00:00
kipp%netscape.com
95cd6bc299 Hooked up width/height attributes to style changed reflow 1998-09-25 18:25:20 +00:00
kipp%netscape.com
f854c42d85 Removed some dead crud and implemented AttributeChanged 1998-09-25 16:35:01 +00:00
kipp%netscape.com
57b94db9d0 Removed unused include 1998-09-24 21:34:31 +00:00
kipp%netscape.com
d8dc49bad0 Use nsHTMLContainerFrame instead of nsHTMLBase 1998-09-23 02:30:21 +00:00
troy%netscape.com
7b43ebb72c Changed to how broken image is handled 1998-09-22 04:01:16 +00:00
troy%netscape.com
b2de87b7a4 Added display of icon when loading image 1998-09-22 03:34:44 +00:00
troy%netscape.com
294778023e Work in progress for displaying icon while laoding image... 1998-09-20 00:08:24 +00:00
troy%netscape.com
f80fdc69aa Removed CreateFrame() from nsIHTMLContent 1998-09-18 18:04:42 +00:00
kipp%netscape.com
63f55821d6 Turned off image load skid marks 1998-09-09 16:13:52 +00:00
kipp%netscape.com
227e9f8ae1 new 1998-09-08 22:34:40 +00:00