Commit Graph

133 Commits

Author SHA1 Message Date
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
michaelp%netscape.com
5f60004b2a made damagearea management more aggressive as a temporary fix until
individual classes can to the right thing.


git-svn-id: svn://10.0.0.236/trunk@16418 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:49:48 +00:00
kipp%netscape.com
85576f2757 Reworked incremental reflow floater handling to place floaters as their state is recovered instead of moving them
git-svn-id: svn://10.0.0.236/trunk@16319 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-12 19:19:11 +00:00
troy%netscape.com
0a0b7ae6b0 Added new atoms to nsLayoutAtoms for additional named frame child lists
git-svn-id: svn://10.0.0.236/trunk@16032 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 05:30:17 +00:00
troy%netscape.com
d0f172e81d Improved height calculation when there are floaters. Now we check against
the content area y-most rather than the frame bounds y-most. This ensures
that border and padding are respected along the bottom edge


git-svn-id: svn://10.0.0.236/trunk@15942 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 00:01:12 +00:00
kipp%netscape.com
850e4ad32e nit
git-svn-id: svn://10.0.0.236/trunk@15841 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-05 16:01:41 +00:00
troy%netscape.com
89bd61bdf7 Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code


git-svn-id: svn://10.0.0.236/trunk@15793 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-04 19:03:44 +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
wtc%netscape.com
d45ab8ecf7 This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.


git-svn-id: svn://10.0.0.236/trunk@15625 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-02 16:45:20 +00:00
kipp%netscape.com
0100dd306f Fix up painting issue; if we end up with a negative damage area then convert to damaging everything
git-svn-id: svn://10.0.0.236/trunk@15105 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-21 17:21:18 +00:00
troy%netscape.com
c80a6013b3 Removed some #include lines that are no longer needed
git-svn-id: svn://10.0.0.236/trunk@14997 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-20 05:22:45 +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
ac75bce1c1 Changed to make sure we mark the absolutely positioned element's view as
having transparent content if the visibility is hidden


git-svn-id: svn://10.0.0.236/trunk@14929 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 04:26:51 +00:00
troy%netscape.com
e82def0806 Fix for bug #1265. For incremental reflow now checks for the case where the new
height is smaller than the old height and makes sure we erase the entire area


git-svn-id: svn://10.0.0.236/trunk@14921 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 01:39:07 +00:00
troy%netscape.com
3a125ad21a Added some constants to use when referring to child list name indices
git-svn-id: svn://10.0.0.236/trunk@14871 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 06:13:58 +00:00
joki%netscape.com
f1462f4d55 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)


git-svn-id: svn://10.0.0.236/trunk@14864 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 05:25:26 +00:00
troy%netscape.com
e6e0bfb280 Fixed a couple of cases where I missed calling the base class
git-svn-id: svn://10.0.0.236/trunk@14856 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:06:19 +00:00
troy%netscape.com
1d92304a59 Removed mChildCount member data
git-svn-id: svn://10.0.0.236/trunk@14853 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 03:44:08 +00:00
peterl%netscape.com
01c47ed171 cleaned up cursor style handling
git-svn-id: svn://10.0.0.236/trunk@14845 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:11:54 +00:00
troy%netscape.com
663a7d26dc Changed the body to be a subclass of nsBlockFrame rather than contain a
block frame


git-svn-id: svn://10.0.0.236/trunk@14803 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 16:37:39 +00:00
troy%netscape.com
75c8461a9c Added null pointer check in DidSetStyleContext(). This keeps us from crashing
on XML documents


git-svn-id: svn://10.0.0.236/trunk@14753 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:45:24 +00:00
michaelp%netscape.com
25149e78ea changes for pixel scaling/printing.
git-svn-id: svn://10.0.0.236/trunk@14647 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:52:27 +00:00
troy%netscape.com
b7fc0e639a Removed an assert that was incorrect and that triggered when print
previewing test1


git-svn-id: svn://10.0.0.236/trunk@14586 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 05:17:08 +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
kipp%netscape.com
05f22fe6ea Fixed AddFrame method hiding
git-svn-id: svn://10.0.0.236/trunk@14359 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 19:20:53 +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
joki%netscape.com
332786d692 Stop dual event flow through both frames kids and view kids. Now flows through views.
git-svn-id: svn://10.0.0.236/trunk@14318 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 00:35:30 +00:00
troy%netscape.com
80f3b31cc4 Changed BODY frame to create a continuing block frame during Init() if
the body has a prev-in-flow


git-svn-id: svn://10.0.0.236/trunk@14162 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 21:41:12 +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
kipp%netscape.com
eee480656d Removed my style-changed work-around from last time (because it breaks incremental reflow badly); revised QueryInterface to use the revised way of casting
git-svn-id: svn://10.0.0.236/trunk@14022 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 00:29:17 +00:00
peterl%netscape.com
93d3fcc553 sync to style resolution api changes
git-svn-id: svn://10.0.0.236/trunk@14009 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 20:33:43 +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
sar%netscape.com
6bcb5e9aea nsDOMEVent.h -> nsDOMEvent.h to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@13783 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-31 02:15:35 +00:00
kipp%netscape.com
0e289f9983 Removed nsIAnchoredItems from the body frame; body no longer handles floaters; allow style change to turn into a full reflow
git-svn-id: svn://10.0.0.236/trunk@13752 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 22:08:32 +00:00
troy%netscape.com
38de983db5 Moved cursor and mouse enter/exit related logic from RootContentFrame to
body frame


git-svn-id: svn://10.0.0.236/trunk@13745 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 21:54:57 +00:00
troy%netscape.com
8bfc148b9e Fixed ComputeDesiredSize() to make sure it includes the absolutely positioned
items


git-svn-id: svn://10.0.0.236/trunk@13742 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 21:43:16 +00:00
kipp%netscape.com
7d2fbdcb39 Added code to honor constrained width
git-svn-id: svn://10.0.0.236/trunk@13623 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:10:20 +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
22ee60a3f4 Passed in the z-index for InsertChild() call
git-svn-id: svn://10.0.0.236/trunk@13467 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 20:01:40 +00:00
troy%netscape.com
c36b7571bf Added code to decide whether the view has transparent content based on
whether the background color is transparent


git-svn-id: svn://10.0.0.236/trunk@13411 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-24 05:03:33 +00:00
michaelp%netscape.com
3e01c94cf4 changes to support opacity.
git-svn-id: svn://10.0.0.236/trunk@13381 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 17:54:23 +00:00
kipp%netscape.com
22755a8a80 Implement width/height constraints on non-top-level body's; implement nicer ListTag method
git-svn-id: svn://10.0.0.236/trunk@12947 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 23:28:36 +00:00
vidur%netscape.com
3b9d34af51 Changes to allow absolutely positioned frames to move
git-svn-id: svn://10.0.0.236/trunk@12912 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:26:54 +00:00
kipp%netscape.com
e08c473f5d Set opacity in view
git-svn-id: svn://10.0.0.236/trunk@12854 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 01:27:25 +00:00
michaelp%netscape.com
8ac619f636 added comment.
git-svn-id: svn://10.0.0.236/trunk@12608 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 21:12:06 +00:00
michaelp%netscape.com
b8fac6a0d6 changes per-kipp to make views transparent.
git-svn-id: svn://10.0.0.236/trunk@12584 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-12 18:07:28 +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
kipp%netscape.com
adc78c6515 Parameterized body frame behavior
git-svn-id: svn://10.0.0.236/trunk@11985 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 00:39:17 +00:00
troy%netscape.com
31a923050a Removed calls to MoveTo() BEFORE reflowing a frame. We used to do this
sequence: MoveTo(), Reflow(), SetRect(). Now that we have the WillReflow()/
DidReflow() code sandwhiches we no longer need to do the MoveTo()


git-svn-id: svn://10.0.0.236/trunk@11891 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-05 00:58:32 +00:00