roc+%cs.cmu.edu
2673dd6ef6
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
ad19cf4c81
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
9c6f7ccade
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
2a02bb78fd
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
531ba68b54
#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
c81b2c3b26
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
9430a92e06
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
578490d910
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
9d45d84767
Add ifdef'ed Performance Reflow Counting code
2000-04-21 14:59:47 +00:00
troy%netscape.com
e58ca3cc26
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
3ad06c4f40
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
fd5dc605d2
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
3c7966f705
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
16a944a1e3
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
a0640b60c4
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
fe56995443
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
dmose%mozilla.org
42fc94a6ec
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
04accb3de6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy%netscape.com
effb3aefb7
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
a47e8db44b
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com
acbb1274b9
Added missing #ifdef's
1999-09-01 02:03:50 +00:00
kipp%netscape.com
dff5b76938
Updated SizeOf methods to not waste space when doing a non-debug build
1999-09-01 01:02:16 +00:00
kipp%netscape.com
fd426dec6a
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
7e4e30d0c4
Added failure check for call to nsStyleData::GetBorder()
1999-07-28 04:48:34 +00:00
troy%netscape.com
af3ef58730
Changed root frame class over to new reflow command handling
1999-07-27 14:15:42 +00:00
troy%netscape.com
c06a058608
Moved code that repaints after a resize or initial reflow to the viewport
1999-07-24 15:18:24 +00:00
troy%netscape.com
537d74d82c
Renamed some nsFrameList member functions
1999-07-22 04:00:57 +00:00
troy%netscape.com
8f6ca33b27
Made sure to Invalidate() for the initial reflow, too
1999-07-21 04:39:24 +00:00
troy%netscape.com
a6aae963a7
Added 'm' prefix to some of the nsHTMLReflowState data members
1999-07-20 03:41:03 +00:00
troy%netscape.com
5213679b85
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
fe901e9978
Fix for bug #6903 : changed Reflow() to handle reflow commands of type
...
StyleChanged
1999-06-23 04:18:07 +00:00
kipp%netscape.com
fea30bc4eb
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
troy%netscape.com
737d341483
Removed a function that wasn't needed
1999-04-27 20:18:29 +00:00
kipp%netscape.com
b6234ed95d
Removed some dead code
1999-03-31 04:11:02 +00:00
troy%netscape.com
93bc8c37b3
Removed some code that is no longer needed
1999-03-06 01:58:33 +00:00
kipp%netscape.com
29893a7946
use new nsHTMLReflowState ctors
1999-03-05 04:29:11 +00:00
troy%netscape.com
99ecf5d560
Added frame-type atoms for area,scroll,viewport,root,page frame classes
1999-02-14 03:47:33 +00:00
troy%netscape.com
b8965b6929
Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
...
references
1999-02-10 04:17:06 +00:00
troy%netscape.com
dee578e55b
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
d94b175987
Fix for bug #2867 . Removed the questionable logic I added previously.
1999-02-04 00:43:49 +00:00
troy%netscape.com
7ca9fbe93c
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
34123741f7
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
1b194afac1
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
3fc3cefb27
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
b145640f92
Changed scrolling so it happens on the viewport instead of the HTML
...
element
1999-01-26 00:05:21 +00:00
troy%netscape.com
8d9d3c0d52
Added 'computedMargin' to nsHTMLReflowState, which replaced the individual
...
margin values (e.g., computedLeftMargin)
1999-01-17 05:43:02 +00:00
kipp%netscape.com
a9e0e05f2b
Switch to using nsFrameList for frame lists
1999-01-15 22:53:39 +00:00
troy%netscape.com
59d1bc8ea5
Replaced "maxSize" member if nsReflowState with "availableWidth" and
...
"availableHeight"
1999-01-05 23:31:18 +00:00
troy%netscape.com
8646017faa
Better computation of computed width and height and margins for block-level
...
elements
1998-12-31 05:35:38 +00:00
troy%netscape.com
781a43ae69
Changed width/height constraints in nsHTMLReflowState struct
1998-12-30 17:50:00 +00:00