Commit Graph

73 Commits

Author SHA1 Message Date
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
troy%netscape.com
7e9b56edac Added code to repaint the scrolled frame during a resize reflow
git-svn-id: svn://10.0.0.236/trunk@13410 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 04:57:48 +00:00
troy%netscape.com
5e861f6532 Removed dead code
git-svn-id: svn://10.0.0.236/trunk@13358 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 02:36:07 +00:00
troy%netscape.com
6564810f9b Reduced the number of frames
git-svn-id: svn://10.0.0.236/trunk@13334 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 21:44:30 +00:00
troy%netscape.com
4af09d8402 Added new pseudo class style :SCROLLED-CONTENT
git-svn-id: svn://10.0.0.236/trunk@13315 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 20:12:34 +00:00
troy%netscape.com
9e855e939f Removed some dead code
git-svn-id: svn://10.0.0.236/trunk@13311 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 18:32:43 +00:00
troy%netscape.com
f8f27f84e8 Changed to use new SetControlInsets() feature of scrolling view
git-svn-id: svn://10.0.0.236/trunk@13257 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 16:07:07 +00:00
troy%netscape.com
e2209a9a18 Changed scrolling view to use a clip view and to slide the scrolled
view up and down rather than maintain a logical scrolled offset


git-svn-id: svn://10.0.0.236/trunk@13080 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-19 00:44:28 +00:00
troy%netscape.com
acbd1d72b5 Changed scroll view frame to have the scrolling view create a child widget.
This allows us to clip child views with widgets, e.g. form elements


git-svn-id: svn://10.0.0.236/trunk@12870 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 05:28:13 +00:00
kipp%netscape.com
a94cef9200 Pass in style context
git-svn-id: svn://10.0.0.236/trunk@12815 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 20:11:33 +00:00
troy%netscape.com
60f2552649 Changed nsScrollViewFrame to wrap child frame in a BODY if necessary
git-svn-id: svn://10.0.0.236/trunk@12758 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 00:03:27 +00:00
troy%netscape.com
c60578c1b0 Changed nsScrollingViewFrame's Reflow() member function to check for a
transparent background


git-svn-id: svn://10.0.0.236/trunk@12753 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 23:42:21 +00:00
troy%netscape.com
0dca929694 More work in progress for scroll frame
git-svn-id: svn://10.0.0.236/trunk@12666 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 04:48:58 +00:00
troy%netscape.com
9c33f4f9c2 Work in progress on scroll frame code
git-svn-id: svn://10.0.0.236/trunk@12615 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 22:13:23 +00:00
kipp%netscape.com
df3aef5b18 Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state
git-svn-id: svn://10.0.0.236/trunk@12578 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 17:00:32 +00:00
kipp%netscape.com
3af8f78a16 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling
git-svn-id: svn://10.0.0.236/trunk@12575 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 14:48:02 +00:00
troy%netscape.com
ab9971c67b Removed GetContentIndex() from nsIFrame
git-svn-id: svn://10.0.0.236/trunk@12307 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 20:35:16 +00:00
troy%netscape.com
f910aa1e8b Changed ReflowChild() to send the WillReflow() notification as well
git-svn-id: svn://10.0.0.236/trunk@11982 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:27:22 +00:00