Commit Graph

86 Commits

Author SHA1 Message Date
mjudge@netscape.com
abfa134534 fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view. 2000-04-12 03:04:11 +00:00
dbaron@fas.harvard.edu
0db3c15533 Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
troy@netscape.com
7abe460751 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
hyatt@netscape.com
9a7a1b27f7 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
tbogard@aol.net
617bb737a6 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
troy@netscape.com
3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy@netscape.com
bf2283fba6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy@netscape.com
5e5f240649 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy@netscape.com
b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp@netscape.com
776356c4bb Added missing #ifdef's 1999-09-01 02:03:50 +00:00
kipp@netscape.com
0d0c583aac Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp@netscape.com
3dbd670c62 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
troy@netscape.com
99ae5771db Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
troy@netscape.com
5c81e70106 Changed root frame class over to new reflow command handling 1999-07-27 14:15:42 +00:00
troy@netscape.com
26c822b17d Moved code that repaints after a resize or initial reflow to the viewport 1999-07-24 15:18:24 +00:00
troy@netscape.com
8c10dec5d9 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
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