Commit Graph

250 Commits

Author SHA1 Message Date
pierre@netscape.com
5f165d8dc9 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
mcafee@netscape.com
99b5642905 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre@netscape.com
37a4efae45 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
rods@netscape.com
c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron@fas.harvard.edu
618fd5b917 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
dbaron@fas.harvard.edu
8d33bf5ae8 Paint backgrounds and borders for inline elements in the foreground layer. b=36710, 27757 r=buster@netscape.com 2000-09-04 21:45:47 +00:00
roc+@cs.cmu.edu
929ba40c30 Adding call to new view API so that the view of a fixed-position frame has a Z-order/clipping parent which is not its geometric parent. Bug 39621. r,a=waterson 2000-08-12 19:44:11 +00:00
sfraser@netscape.com
b78873aa1d Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
dcone@netscape.com
ea483a9b85 Check to see if the view had been reparented.. b=44718 a=mcclusk 2000-08-08 14:11:09 +00:00
cmanske@netscape.com
160e685d19 Add code to paint selection border around Named Anchor frames when rect is not null - used only in Editor when Named Anchor is represented by an image. r=mjudge 2000-05-16 22:12:54 +00:00
troy@netscape.com
3cb3cfefb2 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman@netscape.com
18cce22621 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
troy@netscape.com
61e9726a64 Fixed CreateViewForFrame() to check for a block-level frame with
'overflow' set to 'hidden' and force the frame to have a view. This
way child frames with views are clipped correctly
2000-04-23 04:55:27 +00:00
pierre@netscape.com
ee71ad262f 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
110acad970 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
67f034175a 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
3a51175c2e Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex() 1999-12-08 04:49:20 +00:00
pierre@netscape.com
c45484ddce 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
40c2c3091a 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
617bb737a6 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
796280940b 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
b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
peterl@netscape.com
afedab4c16 manage view visibility better, hide collapsed views and hidden views with widgets 1999-09-29 03:37:02 +00:00
troy@netscape.com
92044e1172 Fixes for bug #2552 and bug #10961 1999-09-26 20:40:29 +00:00
troy@netscape.com
94c3bcfa71 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
c061fd7cb3 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
c888e44eb7 Fixed compiler warning 1999-09-01 04:32:45 +00:00
troy@netscape.com
71a34e34f0 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
7d42a322da Don't paint frames that are unflowable 1999-08-27 21:48:21 +00:00
troy@netscape.com
d4446cbbf3 Reworked ReparentFrameView() to make it more efficient 1999-08-24 19:26:03 +00:00
rods@netscape.com
c7f74c6a99 added PaintOutline to paint CSS outlines to paint method 1999-08-19 14:35:48 +00:00
peterl@netscape.com
667dfc70af moved scrolled content pseudo to layout atoms 1999-08-08 01:15:30 +00:00
kipp@netscape.com
4b7ba6fdca Eliminate a warning 1999-07-14 17:28:00 +00:00
evaughan@netscape.com
20ee0f32da Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
troy@netscape.com
de5b312cb3 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
403a039d28 Changed the handling for fixed backgrounds a little 1999-04-21 22:08:01 +00:00
troy@netscape.com
33372eb0eb 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
3a2918cd17 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
0b0e8facf6 Added a comment 1999-04-06 02:57:47 +00:00
kipp@netscape.com
74c9fdfeaf Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
peterl@netscape.com
82aa4e8465 augmented ReResolveStyleContext to capture style change information 1999-03-25 06:43:38 +00:00
kipp@netscape.com
76a50ef817 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
35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
kipp@netscape.com
48f5180b30 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp@netscape.com
19c9835638 Removed MoveOutOfFlow 1999-02-26 17:07:01 +00:00
troy@netscape.com
7f63268a34 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy@netscape.com
b2d859edbe Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy@netscape.com
c8775cfae2 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy@netscape.com
f39b9cee08 API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00