Commit Graph

137 Commits

Author SHA1 Message Date
pierre%netscape.com
4d43de09aa Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
troy%netscape.com
1bc0e305c9 b=5588. Added new function ReparentFrameViewList() that is much faster
then ReparentFrameView() when you have a list of child frames
2000-03-12 03:09:36 +00:00
troy%netscape.com
8a78d916a5 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
troy%netscape.com
c0644e2987 Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex() 1999-12-08 04:49:20 +00:00
pierre%netscape.com
97457e62bb Backing-out previous change which had the effect of getting rid of the widgets for *all* fixed positioned elements. Removing widgets is a goal at term but it's something that we want to leave to the View Manager folk(s) or at least do in sync with them. 1999-12-01 05:10:50 +00:00
pierre%netscape.com
ce15b0c85d 18163 "Use of fixed positioning in style sheet corrupts display". Don't create empty widgets for fixed positioned elements in order to avoid problems in the View Manager (GetDrawingSurface) where we end up copying uninitialized bitmaps to the screen. The main reason for fixing the bug here instead of within the View Manager is that we'll get rid of widgets altogether over time. 1999-12-01 04:10:02 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
peterl%netscape.com
cd5a8a17d1 manage view visibility better, hide collapsed views and hidden views with widgets 1999-09-29 03:37:02 +00:00
troy%netscape.com
9430750742 Fixes for bug #2552 and bug #10961 1999-09-26 20:40:29 +00:00
troy%netscape.com
46f7140270 In CreateViewForFrame() removed code that was hiding view if the 'visibility'
property is 'hidden'
1999-09-15 04:54:00 +00:00
troy%netscape.com
5c8341b9f0 Removed code in CreateViewForFrame() that always forced relatively positioned
and absolutely positioned frames to have transparent views. It's not needed
now that bug #11637 is fixed
1999-09-15 04:16:31 +00:00
troy%netscape.com
8ca21e9d4e Fixed compiler warning 1999-09-01 04:32:45 +00:00
troy%netscape.com
3688b0a7ce Fix for bug #12864. Changed CreateViewForFrame() so it respects the z-index
of relatively positioned elements
1999-09-01 01:10:24 +00:00
kipp%netscape.com
a990e6fdbf Don't paint frames that are unflowable 1999-08-27 21:48:21 +00:00
troy%netscape.com
46415e1c34 Reworked ReparentFrameView() to make it more efficient 1999-08-24 19:26:03 +00:00
rods%netscape.com
62ae1bfcf9 added PaintOutline to paint CSS outlines to paint method 1999-08-19 14:35:48 +00:00
peterl%netscape.com
7bf06a962e moved scrolled content pseudo to layout atoms 1999-08-08 01:15:30 +00:00
kipp%netscape.com
de21952346 Eliminate a warning 1999-07-14 17:28:00 +00:00
evaughan%netscape.com
a9d351ef30 Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
troy%netscape.com
15e5859a59 Fixed a problem where CreateViewForFrame() was setting NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
all the time
1999-04-24 04:53:42 +00:00
troy%netscape.com
ef791ed27c Changed the handling for fixed backgrounds a little 1999-04-21 22:08:01 +00:00
troy%netscape.com
7e9a5af5f7 Changed CreateViewForFrame() so it takes into account fixed background
attachments and sets NS_VIEW_PUBLIC_FLAG_DONT_BITBLT
1999-04-21 21:27:50 +00:00
troy%netscape.com
238ac2da4a Added ReparentFrameView() and changed the block and inline code
to call it when pushing/pulling frames
1999-04-11 04:22:00 +00:00
troy%netscape.com
634f3c9b44 Added a comment 1999-04-06 02:57:47 +00:00
kipp%netscape.com
60f52440cb Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
peterl%netscape.com
32d3372e42 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
kipp%netscape.com
c9067260be Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc. 1999-03-18 21:03:25 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
kipp%netscape.com
760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com
5fca6839f0 Removed MoveOutOfFlow 1999-02-26 17:07:01 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com
902190112d API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
troy%netscape.com
034aa56b83 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +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
78d4cd7331 More work-in-progress for fixed positioning 1999-01-28 17:14:13 +00:00
troy%netscape.com
b8e3d41dab Part of the fix for bug #2502. For the time being mark relative/absolute positioned
views as having transparent content
1999-01-23 05:47:55 +00:00
harishd%netscape.com
7daec328c6 Passing styleContext info. to PaintBorder(). 1999-01-22 22:25:58 +00:00
kipp%netscape.com
4243726f6a Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00
troy%netscape.com
6d63084a70 Fix for bug #1998. Now we render the background image over the padding area and not over the border area 1999-01-15 18:25: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
097f73ee6c Changed CreatePlaceholderFrame() to use a pseudo element style context
(:PLACEHOLDER-FRAME) for the placeholder frame. This way it looks like an
inline static frame with a specified size of (0, 0)
1999-01-02 20:51:43 +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
kipp%netscape.com
c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
troy%netscape.com
7e29c81e53 Changed CreateViewForFrame() to check whether the parent view is a scrolling
view and if so use SetScrolledView() instead of the view manager's InsertChild().
This ensures that the scrolled frame's view is inserted as a child of the clip
view during the view initialization stage
1998-12-18 05:25:36 +00:00