90 Commits

Author SHA1 Message Date
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
dbedf1803d Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references


git-svn-id: svn://10.0.0.236/trunk@20215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:17:06 +00:00
troy%netscape.com
79891cd010 Switched to using nsIScrollableView::GetScrollbarVisibility() to tell
whether the vertical scrollbar is currently showing


git-svn-id: svn://10.0.0.236/trunk@19412 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 04:30:57 +00:00
troy%netscape.com
98f969bf7a Made sure that fixed positioned elements gets a widget
git-svn-id: svn://10.0.0.236/trunk@19184 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 18:36:23 +00:00
troy%netscape.com
97891adcdc Fixed logic that determines whether there's currently a visible vertical
scrollbar


git-svn-id: svn://10.0.0.236/trunk@19161 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 16:32:54 +00:00
troy%netscape.com
408d68e175 Fix for bug# 2780: changed root-frame and scroll-frame code to take into
account mCombinedArea


git-svn-id: svn://10.0.0.236/trunk@19089 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 05:12:02 +00:00
troy%netscape.com
2737ca110b Fix for bug #2743. Improved the logic which predicts whether a vertical scrollbar
is needed


git-svn-id: svn://10.0.0.236/trunk@18995 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 04:29:10 +00:00
troy%netscape.com
d0406126ba Changed scrolling so it happens on the viewport instead of the HTML
element


git-svn-id: svn://10.0.0.236/trunk@18539 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:05:21 +00:00
harishd%netscape.com
72a54d60f4 Stylecontext is passed to PaintBorder()
git-svn-id: svn://10.0.0.236/trunk@18356 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:28:12 +00:00
troy%netscape.com
064afea0b7 Added XXX comment for ReResolveStyleContext()
git-svn-id: svn://10.0.0.236/trunk@18321 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:23:06 +00:00
rods%netscape.com
b4a0472893 Removed the class def and put it in a new header nsScrollFrame.h
git-svn-id: svn://10.0.0.236/trunk@18298 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 15:23:51 +00:00
troy%netscape.com
c68ea5ab6f Fixed it so computedHeight is correctly computed
git-svn-id: svn://10.0.0.236/trunk@18000 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 05:59:24 +00:00
troy%netscape.com
64fcc4cfa2 Improvements to absolute positioning code
git-svn-id: svn://10.0.0.236/trunk@17952 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 17:27:27 +00:00
troy%netscape.com
525b1062ea Fix for bug #2450; 'padding' wasn't getting handled properly
git-svn-id: svn://10.0.0.236/trunk@17942 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 00:48:59 +00:00
kipp%netscape.com
1f0fa192a0 Switch to using nsFrameList for frame lists
git-svn-id: svn://10.0.0.236/trunk@17884 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-15 22:53:39 +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
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
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
troy%netscape.com
53950b34bb Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used


git-svn-id: svn://10.0.0.236/trunk@16734 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-20 23:29:47 +00:00
troy%netscape.com
f02e1a1119 Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@16672 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 17:33: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
troy%netscape.com
1084cdf38d Fixed a compiler warning by include nsHTMLParts.h
git-svn-id: svn://10.0.0.236/trunk@16653 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:52:05 +00:00
troy%netscape.com
abce0b152c Eliminated a bunch of code now that CreateViewForFrame() takes care of calling
SetScrolledView()


git-svn-id: svn://10.0.0.236/trunk@16647 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-18 05:26:16 +00:00
troy%netscape.com
9debb42671 Backed the change back out
git-svn-id: svn://10.0.0.236/trunk@16612 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 22:25:59 +00:00
troy%netscape.com
16badfe907 Changed Paint() to only paing the border if the style info says we're visible
git-svn-id: svn://10.0.0.236/trunk@16602 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-17 21:34:41 +00:00
troy%netscape.com
55cb5a040c Fix for bug 1831 where an auto horizontal scrollbar was causing a vertical
scrollbar to be displayed even though it wasn't needed


git-svn-id: svn://10.0.0.236/trunk@16112 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-10 00:52:58 +00:00
troy%netscape.com
086be65468 Changed view creation to occur when frame initialization occurs
git-svn-id: svn://10.0.0.236/trunk@15763 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 05:56:06 +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
troy%netscape.com
8cdbd84223 Changed to handle StyleChanged incremental reflow command
git-svn-id: svn://10.0.0.236/trunk@15506 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 05:17:12 +00:00
kipp%netscape.com
ce366ccfba Fixed scroll-frame code to properly fill in the max-element-size
git-svn-id: svn://10.0.0.236/trunk@15098 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 03:52:01 +00:00
kipp%netscape.com
115cd2b9ad Use Get methods from style context instead of deprecated methods
git-svn-id: svn://10.0.0.236/trunk@15009 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 17:13:28 +00:00
kipp%netscape.com
b527c7f026 Added DumpRegressionData; revised ListTag; added GetFrameName
git-svn-id: svn://10.0.0.236/trunk@14946 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 17:22:29 +00:00
troy%netscape.com
e8b6cc2769 Added a scroll frame for print preview
git-svn-id: svn://10.0.0.236/trunk@14582 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 04:22:23 +00:00
troy%netscape.com
48a7503df3 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element


git-svn-id: svn://10.0.0.236/trunk@14543 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 23:03:35 +00:00
troy%netscape.com
a7875d7a01 Changed slightly the check for whether the vertical scrollbar will be hidden.
This way it works better for XML documents that have an initial value for the
overflow property


git-svn-id: svn://10.0.0.236/trunk@14494 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 03:56:57 +00:00
troy%netscape.com
cc9970fac0 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame


git-svn-id: svn://10.0.0.236/trunk@14413 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 04:43:13 +00:00
troy%netscape.com
1c0da71da3 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list


git-svn-id: svn://10.0.0.236/trunk@14333 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 06:05:32 +00:00
troy%netscape.com
bc3d710f3f Changed frame construction code to create a simple page sequence frame
when paginated


git-svn-id: svn://10.0.0.236/trunk@14135 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:13:55 +00:00
michaelp%netscape.com
43acfe6cc5 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.


git-svn-id: svn://10.0.0.236/trunk@14036 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 04:14:10 +00:00
michaelp%netscape.com
fd21a37d46 changed nsIView::Init() so that it no longer takes an opacity value. this
allows the view manager to maintain global state re: opacity.


git-svn-id: svn://10.0.0.236/trunk@13955 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 06:36:36 +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
troy%netscape.com
58e5b3ad09 Some fixes to correctly compute the desired size
git-svn-id: svn://10.0.0.236/trunk@13719 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 05:50:07 +00:00
troy%netscape.com
6790bf9cf4 Changed to use a scroll frame for the BODY
git-svn-id: svn://10.0.0.236/trunk@13686 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 23:25:02 +00:00
troy%netscape.com
b185fdbace Sets the scrolling view's scroll preference and checks whether the scrolled
frame is a BODY frame


git-svn-id: svn://10.0.0.236/trunk@13608 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 17:29:51 +00:00
michaelp%netscape.com
1cc1204f3b changes for removal of zindex from nsIView::Init().
git-svn-id: svn://10.0.0.236/trunk@13542 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-27 03:37:03 +00:00
troy%netscape.com
5d65c5c70c Made sure to set the opacity and z-index when creating the views
git-svn-id: svn://10.0.0.236/trunk@13486 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 21:46:33 +00:00
troy%netscape.com
4993683d59 Changed to handle incremental reflow
git-svn-id: svn://10.0.0.236/trunk@13474 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 20:32:32 +00:00
troy%netscape.com
004c474793 Changed the ordering so we mark the scrolled view as having transparent
content before setting the scrolling view's scrolled view


git-svn-id: svn://10.0.0.236/trunk@13417 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-25 04:15:08 +00:00