Граф коммитов

197 Коммитов

Автор SHA1 Сообщение Дата
vidur%netscape.com a064dd059f Partial fix for bug 78976. Rather than dropping events that are targeted at the canvas frame, we pass them down to the first frame child. r=joki, sr=jst. 2001-05-18 23:08:00 +00:00
roc+%cs.cmu.edu a7e55667d2 Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard 2001-04-24 01:01:16 +00:00
pierre%netscape.com 9af01acf22 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
rods%netscape.com 99666eed8c This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
mcafee%netscape.com 7ecf530933 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre%netscape.com 62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu caa9658024 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
attinasi%netscape.com dcb965aa0f Added AttributeChanged method impl. for the CanvasFrame. This allows the frame to invalidate the whole canvas when a background color or background image changes. b=11491,37502 2000-05-06 05:50:49 +00:00
rods%netscape.com 21de9f3e8a Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
troy%netscape.com efc3b016a8 b=15405 Renamed root frame to canvas frame and changed frame construction
code to propagate document element's background to canvas
2000-04-19 02:13:43 +00:00
mjudge%netscape.com f0c0beb50c 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 87e19c9cef 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 85012ab550 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 de2eaede42 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 af1ce8d410 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 597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
dmose%mozilla.org 5312eacf8c 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 1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com a12c3d6c5d 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 87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com 1ea958d508 Added missing #ifdef's 1999-09-01 02:03:50 +00:00
kipp%netscape.com 7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp%netscape.com f808fbb193 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 2ba05e9bf2 Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
troy%netscape.com 05fb1d7f25 Changed root frame class over to new reflow command handling 1999-07-27 14:15:42 +00:00
troy%netscape.com 7ffa0d8a63 Moved code that repaints after a resize or initial reflow to the viewport 1999-07-24 15:18:24 +00:00
troy%netscape.com 7a5e4dbdb5 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy%netscape.com 93621b70eb Made sure to Invalidate() for the initial reflow, too 1999-07-21 04:39:24 +00:00
troy%netscape.com 155ed6816a Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
troy%netscape.com 063b6aaad3 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 25d924248a Fix for bug #6903: changed Reflow() to handle reflow commands of type
StyleChanged
1999-06-23 04:18:07 +00:00
kipp%netscape.com 4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
troy%netscape.com c30c249a82 Removed a function that wasn't needed 1999-04-27 20:18:29 +00:00
kipp%netscape.com e1c16654f6 Removed some dead code 1999-03-31 04:11:02 +00:00
troy%netscape.com 5d77d78450 Removed some code that is no longer needed 1999-03-06 01:58:33 +00:00
kipp%netscape.com 8661fd6122 use new nsHTMLReflowState ctors 1999-03-05 04:29:11 +00:00
troy%netscape.com bf53f99087 Added frame-type atoms for area,scroll,viewport,root,page frame classes 1999-02-14 03:47:33 +00:00
troy%netscape.com e9bbeeaa9b Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com 49923b7f83 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 1dcaa305b6 Fix for bug #2867. Removed the questionable logic I added previously. 1999-02-04 00:43:49 +00:00
troy%netscape.com c4b2263dbf 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 f987894585 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 25be57b96c 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 1741d8cae3 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 ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
troy%netscape.com e805654323 Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +00:00
kipp%netscape.com 4243726f6a Switch to using nsFrameList for frame lists 1999-01-15 22:53:39 +00:00
troy%netscape.com 4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com 8e168ef086 Better computation of computed width and height and margins for block-level
elements
1998-12-31 05:35:38 +00:00
troy%netscape.com 4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
troy%netscape.com 98e47c310d 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 6493c0fc74 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
troy%netscape.com 9619058141 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 2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
kipp%netscape.com 11b6602001 Support margins on the child frame 1998-11-20 22:27:33 +00:00
kipp%netscape.com c9013931ab Use revised API's for computing the border/padding 1998-11-20 17:20:29 +00:00
kipp%netscape.com a6926809f0 Added DumpRegressionData; revised ListTag; added GetFrameName 1998-11-19 17:22:29 +00:00
troy%netscape.com d4cf65cd18 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 77fd9c2652 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 265c4ca8a7 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
troy%netscape.com 688027c9d3 Fixed problem that caused Mac build to break 1998-11-17 02:37:47 +00:00
vidur%netscape.com 026c273104 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 bb256efbb7 Changed Reflow() to deal with reflow commands targeted at the root frame 1998-11-16 23:16:03 +00:00
rickg%netscape.com ba3ddb1078 fixed a crash that someone missed 1998-11-13 04:58:35 +00:00
troy%netscape.com 8e56559948 Added ListTag() member function 1998-11-13 02:20:31 +00:00
troy%netscape.com 532ccd2885 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 527ee073f8 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 768d7859c8 Removed code for RootContentFrame class which is no longer used 1998-11-04 21:02:32 +00:00
peterl%netscape.com cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
troy%netscape.com 633fecba5e 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 3c5f78c11a 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 c16076d5ca Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
michaelp%netscape.com 15de205f12 changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
peterl%netscape.com 04a0fce0ba renamed cursor defines 1998-10-26 23:14:17 +00:00
troy%netscape.com e2b6409d3e 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 ea5a5735f5 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 7e64653dab Changed ReflowChild() to send the WillReflow() notification as well 1998-10-06 00:27:22 +00:00
troy%netscape.com 3393397633 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()
1998-10-05 00:58:32 +00:00
troy%netscape.com 7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
troy%netscape.com ba3c7125c2 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
kipp%netscape.com a4c83d9611 Use modified css rendering API; handle background images differently (still not quite right) 1998-09-26 17:14:35 +00:00
kipp%netscape.com b1f13b362f Added support for percentage base margins to the root, root-content and block frames 1998-09-25 23:47:59 +00:00
kipp%netscape.com 7632be6e13 Added in support for border/padding/background-* properties for the HTML frame; added support for margin properties on the child of the HTML frame 1998-09-25 23:39:06 +00:00
kipp%netscape.com 57b94db9d0 Removed unused include 1998-09-24 21:34:31 +00:00
troy%netscape.com dd71642dd1 Removed PreReflowCheck() and PostReflowCheck() from nsContainerFrame 1998-09-24 03:59:30 +00:00
troy%netscape.com e3ca8725d1 Removed references to mFirstContentOffset, mLastContentIsComplete, and mChildCount 1998-09-21 03:50:44 +00:00
troy%netscape.com 29e5156e14 Removed nsIContentDelegate.h 1998-09-18 17:34:48 +00:00
troy%netscape.com b67cac2d78 Removed some dead code 1998-09-18 03:08:23 +00:00
troy%netscape.com 5421a899d1 Removed some XXX CONSTRUCTION commented out code 1998-09-12 04:54:04 +00:00
troy%netscape.com effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
kipp%netscape.com 227e9f8ae1 new 1998-09-08 22:34:40 +00:00
karnaze 0ccd357a8f initial support for <iframe> 1998-06-11 16:46:33 +00:00
peterl 91c5893512 sync up to new style data apis 1998-06-05 06:09:09 +00:00
kipp 731de410d3 Removed dead code 1998-06-04 23:08:59 +00:00
kipp c8f38f4ede Log view creation when it's done; create view when child and parent opacities differ 1998-06-04 17:50:53 +00:00
kipp 9460911cbf new 1998-06-03 15:49:00 +00:00