jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
9359000a40
Header include dependency cleanup. b=64023 r=jag rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
rods%netscape.com
882b0d68a5
adding pane/frameset/frame/iframe navigation
...
Bug 24423 r=joki,saari a=hyatt
git-svn-id: svn://10.0.0.236/trunk@95734 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 23:52:17 +00:00
vidur%netscape.com
0f2762b474
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.
...
git-svn-id: svn://10.0.0.236/trunk@95455 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 23:08:00 +00:00
roc+%cs.cmu.edu
a841bac02b
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
...
git-svn-id: svn://10.0.0.236/trunk@92978 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-24 01:01:16 +00:00
pierre%netscape.com
8944a57fe0
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.
...
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
rods%netscape.com
b23e7af50b
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
git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
644a6ffc68
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
...
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
...
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
rods%netscape.com
a6e0d47c5a
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
b4de65c19e
Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
attinasi%netscape.com
7fc3233b8e
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
...
git-svn-id: svn://10.0.0.236/trunk@68505 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:50:49 +00:00
rods%netscape.com
fbf8aca833
Add ifdef'ed Performance Reflow Counting code
...
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +00:00
troy%netscape.com
e68720f217
b=15405 Renamed root frame to canvas frame and changed frame construction
...
code to propagate document element's background to canvas
git-svn-id: svn://10.0.0.236/trunk@66390 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 02:13:43 +00:00
mjudge%netscape.com
c25a8377d7
fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view.
...
git-svn-id: svn://10.0.0.236/trunk@65649 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:04:11 +00:00
dbaron%fas.harvard.edu
0936aaafab
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.
...
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
troy%netscape.com
52084caad8
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
git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
troy%netscape.com
3f61543a91
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
3513334988
Moved a bunch of stuff out to a nsIFrameDebug interface
...
git-svn-id: svn://10.0.0.236/trunk@52427 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:12:45 +00:00
troy%netscape.com
88c4d96e2c
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
git-svn-id: svn://10.0.0.236/trunk@52309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 02:52:11 +00:00
troy%netscape.com
bd46e7911f
Changed SetView/GetView to take an additional argument which is the
...
pres context
git-svn-id: svn://10.0.0.236/trunk@51822 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 04:44:41 +00:00
kipp%netscape.com
01951e06b5
Added missing #ifdef's
...
git-svn-id: svn://10.0.0.236/trunk@45420 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 02:03:50 +00:00
kipp%netscape.com
eea3ab916a
Updated SizeOf methods to not waste space when doing a non-debug build
...
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
kipp%netscape.com
c9002f20df
Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
...
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
troy%netscape.com
08b0ac1ce2
Added failure check for call to nsStyleData::GetBorder()
...
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:48:34 +00:00
troy%netscape.com
dd72d8029f
Changed root frame class over to new reflow command handling
...
git-svn-id: svn://10.0.0.236/trunk@41287 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:15:42 +00:00
troy%netscape.com
391149c4d4
Moved code that repaints after a resize or initial reflow to the viewport
...
git-svn-id: svn://10.0.0.236/trunk@40977 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 15:18:24 +00:00
troy%netscape.com
a314bc3877
Renamed some nsFrameList member functions
...
git-svn-id: svn://10.0.0.236/trunk@40595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:00:57 +00:00
troy%netscape.com
8ac7d2a316
Made sure to Invalidate() for the initial reflow, too
...
git-svn-id: svn://10.0.0.236/trunk@40411 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 04:39:24 +00:00
troy%netscape.com
a89529386f
Added 'm' prefix to some of the nsHTMLReflowState data members
...
git-svn-id: svn://10.0.0.236/trunk@40215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:41:03 +00:00
troy%netscape.com
b390461bd8
Fix for bug #7656 . Changed the root frame to size the document element's
...
frame so it covers the entire canvas
git-svn-id: svn://10.0.0.236/trunk@37077 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-27 02:39:09 +00:00
troy%netscape.com
31908d8477
Fix for bug #6903 : changed Reflow() to handle reflow commands of type
...
StyleChanged
git-svn-id: svn://10.0.0.236/trunk@36497 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 04:18:07 +00:00
kipp%netscape.com
de60169b67
Reworked frame factory methods; fixed bug 4519
...
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
troy%netscape.com
17126f8040
Removed a function that wasn't needed
...
git-svn-id: svn://10.0.0.236/trunk@29486 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 20:18:29 +00:00
kipp%netscape.com
f8b0e2aef9
Removed some dead code
...
git-svn-id: svn://10.0.0.236/trunk@25647 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 04:11:02 +00:00
troy%netscape.com
21a6536307
Removed some code that is no longer needed
...
git-svn-id: svn://10.0.0.236/trunk@23030 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:58:33 +00:00
kipp%netscape.com
f73b4b8971
use new nsHTMLReflowState ctors
...
git-svn-id: svn://10.0.0.236/trunk@22850 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 04:29:11 +00:00
troy%netscape.com
1450f8838e
Added frame-type atoms for area,scroll,viewport,root,page frame classes
...
git-svn-id: svn://10.0.0.236/trunk@20669 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-14 03:47:33 +00:00
troy%netscape.com
dbedf1803d
Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
...
references
git-svn-id: svn://10.0.0.236/trunk@20215 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 04:17:06 +00:00
troy%netscape.com
5b4c0b3c70
Fix for bug #2661 . Now handles the case where the root-frame has a fixed
...
height
git-svn-id: svn://10.0.0.236/trunk@20112 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-09 05:09:39 +00:00
troy%netscape.com
b7ecf11083
Fix for bug #2867 . Removed the questionable logic I added previously.
...
git-svn-id: svn://10.0.0.236/trunk@19619 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 00:43:49 +00:00
troy%netscape.com
cb24b1f1fe
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'
git-svn-id: svn://10.0.0.236/trunk@19380 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 01:31:09 +00:00
troy%netscape.com
211b9e9e06
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
git-svn-id: svn://10.0.0.236/trunk@19123 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 18:46:22 +00:00
troy%netscape.com
408d68e175
Fix for bug# 2780: changed root-frame and scroll-frame code to take into
...
account mCombinedArea
git-svn-id: svn://10.0.0.236/trunk@19089 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 05:12:02 +00:00
troy%netscape.com
3e91c0d918
Changed Reflow() to take into account absolutely positioned child
...
frames when computing the desired size
git-svn-id: svn://10.0.0.236/trunk@18750 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 05:58:43 +00:00
troy%netscape.com
d0406126ba
Changed scrolling so it happens on the viewport instead of the HTML
...
element
git-svn-id: svn://10.0.0.236/trunk@18539 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:05:21 +00:00