124 Commits

Author SHA1 Message Date
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
troy%netscape.com
e191c422d9 Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure


git-svn-id: svn://10.0.0.236/trunk@11749 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:10:00 +00:00
troy%netscape.com
7eac0bfdac Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface


git-svn-id: svn://10.0.0.236/trunk@11646 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 04:46:11 +00:00
kipp%netscape.com
42942a6501 Removed duplicate adjustment of the width/height; only use max-size-width if width is unconstrained AND it's a top-level body
git-svn-id: svn://10.0.0.236/trunk@11455 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:33:47 +00:00
kipp%netscape.com
6b67547955 Changed factory method to parameterize the shrink wrapping behavior
git-svn-id: svn://10.0.0.236/trunk@11317 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 03:44:25 +00:00
kipp%netscape.com
8d56d6cc3c Removed scrollbar sizing from body frame
git-svn-id: svn://10.0.0.236/trunk@11119 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 23:38:30 +00:00
troy%netscape.com
be32dfbcc4 Moved ContentDeleted() document notification code to the style system which
generates the reflow command


git-svn-id: svn://10.0.0.236/trunk@11020 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 05:13:06 +00:00
kipp%netscape.com
0740c45e9d Fixed code to not depend on a (bad!) cast and instead use query-interface
git-svn-id: svn://10.0.0.236/trunk@10960 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 21:33:20 +00:00
troy%netscape.com
d2a134fb41 Removed IsPseudoFrame() from nsContainerFrame
git-svn-id: svn://10.0.0.236/trunk@10895 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 04:57:30 +00:00
troy%netscape.com
bf40dfa99c Removed mFirstContentOffset, LastContentOffset, and mLastContentIsComplete
from nsContainerFrame


git-svn-id: svn://10.0.0.236/trunk@10883 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-24 03:36:52 +00:00