Commit Graph

169 Commits

Author SHA1 Message Date
troy@netscape.com
be58344b92 Made sure to Invalidate() for the initial reflow, too 1999-07-21 04:39:24 +00:00
troy@netscape.com
346eaed537 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
troy@netscape.com
c7182be6c0 Fix for bug #7656. Changed the root frame to size the document element's
frame so it covers the entire canvas
1999-06-27 02:39:09 +00:00
troy@netscape.com
6a00cd161d Fix for bug #6903: changed Reflow() to handle reflow commands of type
StyleChanged
1999-06-23 04:18:07 +00:00
kipp@netscape.com
68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
troy@netscape.com
1228c97a24 Removed a function that wasn't needed 1999-04-27 20:18:29 +00:00
kipp@netscape.com
c086889659 Removed some dead code 1999-03-31 04:11:02 +00:00
troy@netscape.com
0b9e043b27 Removed some code that is no longer needed 1999-03-06 01:58:33 +00:00
kipp@netscape.com
9181c3e8d5 use new nsHTMLReflowState ctors 1999-03-05 04:29:11 +00:00
troy@netscape.com
4143f853ab Added frame-type atoms for area,scroll,viewport,root,page frame classes 1999-02-14 03:47:33 +00:00
troy@netscape.com
18893d3961 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy@netscape.com
3948db8f2e Fix for bug #2661. Now handles the case where the root-frame has a fixed
height
1999-02-09 05:09:39 +00:00
troy@netscape.com
ce603b82b1 Fix for bug #2867. Removed the questionable logic I added previously. 1999-02-04 00:43:49 +00:00
troy@netscape.com
3e9a69ea1f Fixed it to so the root-frame isn't considered a containing block, and
changed SetRect() so it only resizes the child frame larger if its 'height'
is set to 'auto'
1999-02-03 01:31:09 +00:00
troy@netscape.com
02f684f867 Changed Reflow() to make sure the desired-size members of the reflow metrics
struct are set in the case where there is no child frame
1999-01-31 18:46:22 +00:00
troy@netscape.com
a52d016b21 Fix for bug# 2780: changed root-frame and scroll-frame code to take into
account mCombinedArea
1999-01-31 05:12:02 +00:00
troy@netscape.com
b6200f880f Changed Reflow() to take into account absolutely positioned child
frames when computing the desired size
1999-01-27 05:58:43 +00:00
troy@netscape.com
74814c1fb9 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
troy@netscape.com
d767461181 Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +00:00
kipp@netscape.com
2aa8f0964e Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00
troy@netscape.com
80de7a2d9f Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy@netscape.com
dcecc202fe Better computation of computed width and height and margins for block-level
elements
1998-12-31 05:35:38 +00:00
troy@netscape.com
57c9c45a75 Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
troy@netscape.com
2d337355a7 Fix for bug #1942. Also made it so we respect 'width' and 'height' properties
specified on the HTML element
1998-12-22 03:49:04 +00:00
troy@netscape.com
7acf428df5 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
troy@netscape.com
c15328cc97 Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
troy@netscape.com
e602e25924 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
kipp@netscape.com
36569f2235 Support margins on the child frame 1998-11-20 22:27:33 +00:00
kipp@netscape.com
ae8f0123d1 Use revised API's for computing the border/padding 1998-11-20 17:20:29 +00:00
kipp@netscape.com
f6502df0e2 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
troy@netscape.com
7aac0103d8 Changed Reflow() to make sure that the child is sized at least as big as the max size
we gave it as part of the reflow command
1998-11-18 23:49:44 +00:00
joki@netscape.com
249a270b84 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl@netscape.com
baefdbc1e7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
troy@netscape.com
90fc3558ce Fixed problem that caused Mac build to break 1998-11-17 02:37:47 +00:00
vidur@netscape.com
bd1aafe982 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
troy@netscape.com
638965ac75 Changed Reflow() to deal with reflow commands targeted at the root frame 1998-11-16 23:16:03 +00:00
rickg@netscape.com
88e9fd274d fixed a crash that someone missed 1998-11-13 04:58:35 +00:00
troy@netscape.com
e66b657712 Added ListTag() member function 1998-11-13 02:20:31 +00:00
troy@netscape.com
458511e568 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
troy@netscape.com
7d57a590c9 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
troy@netscape.com
54687cfe96 Removed code for RootContentFrame class which is no longer used 1998-11-04 21:02:32 +00:00
peterl@netscape.com
e74acd9aca sync to style resolution api changes 1998-11-03 20:33:43 +00:00
troy@netscape.com
5c84d43070 Added code to invalidate the frame after a resize if there is border or
padding. Otherwise the border/padding area was left dirty
1998-10-31 04:40:01 +00:00
troy@netscape.com
a69ed36384 Fixed it so border and padding style specified for the HTML element
work again
1998-10-30 05:18:59 +00:00
troy@netscape.com
94503dda3c Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
michaelp@netscape.com
dc5ff98a5b changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
peterl@netscape.com
fd8f36e779 renamed cursor defines 1998-10-26 23:14:17 +00:00
troy@netscape.com
c3a031b091 Changed scrolling view to use a clip view and to slide the scrolled
view up and down rather than maintain a logical scrolled offset
1998-10-19 00:44:28 +00:00
kipp@netscape.com
9f8e72a224 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
troy@netscape.com
c850ca269e Changed ReflowChild() to send the WillReflow() notification as well 1998-10-06 00:27:22 +00:00