161 Commits

Author SHA1 Message Date
rbs%maths.uq.edu.au
918b4d93c1 [#ifdef MOZ_MATHML: not yet part of default build]. Export the baseline out of the block frame code to support 'vertical-align: baseline' in table-cells. bug 10207. r:buster@netscape.com. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71513 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 08:24:18 +00:00
buster%netscape.com
4fb9226391 effectively removed area frame
work troy was holding in his tree
r=buster


git-svn-id: svn://10.0.0.236/trunk@68808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:11:12 +00:00
troy%netscape.com
acf6fe34f4 b=36202 Patch from roc+moz@cs.cmu.edu that makes sure we invalidate if
necessary when pulling up frames


git-svn-id: svn://10.0.0.236/trunk@66394 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:12:13 +00:00
troy%netscape.com
f35d51df0e Made FindLineFor() public because I need to call it from the HTML reflow
state code


git-svn-id: svn://10.0.0.236/trunk@65948 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 04:05:58 +00:00
buster%netscape.com
bf63049426 bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy


git-svn-id: svn://10.0.0.236/trunk@63783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:19:10 +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
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
nisheeth%netscape.com
59dbaae9fb r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
git-svn-id: svn://10.0.0.236/trunk@57522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:28:24 +00:00
troy%netscape.com
7ecb959a88 More work on getting block frames to incrementally update their
maximum width


git-svn-id: svn://10.0.0.236/trunk@57170 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 03:58:27 +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
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
kipp%netscape.com
eed8ac6824 r=troy; remove another 4 bytes from each block frame for a total of 10% today :-)
git-svn-id: svn://10.0.0.236/trunk@52629 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 00:42:12 +00:00
kipp%netscape.com
e4bab0a0e6 r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property
git-svn-id: svn://10.0.0.236/trunk@52613 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:42:52 +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
kipp%netscape.com
63ae90acca r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737)
git-svn-id: svn://10.0.0.236/trunk@52385 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:24:57 +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
9c72c46de9 Fixed O(N^2) debug logic bug; speed up paint loop by avoiding painting too much now that we have combined-area (bug 7455, 12297)
git-svn-id: svn://10.0.0.236/trunk@51207 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 23:04:19 +00:00
peterl%netscape.com
bba68903df Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:16:45 +00:00
kipp%netscape.com
28bd74e177 r=troy; Cleaned up line-box API (prep work for bug #12297; more coming); Support new line iterator API change (#16176)
git-svn-id: svn://10.0.0.236/trunk@50505 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:24:22 +00:00
troy%netscape.com
579c8e2248 Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance


git-svn-id: svn://10.0.0.236/trunk@50200 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:32:46 +00:00
peterl%netscape.com
4e42b2772d removed ReResolveStyleContext
git-svn-id: svn://10.0.0.236/trunk@48553 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 07:56:18 +00:00
kipp%netscape.com
4fbbb9f867 Fixed various bugs including incremental list reflow (9742) and some table bugs with right floaters
git-svn-id: svn://10.0.0.236/trunk@48058 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:16:43 +00:00
kipp%netscape.com
56ae5925ce Fixed bugs 4572, 7400 and maybe 802
git-svn-id: svn://10.0.0.236/trunk@47816 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:56:36 +00:00
kipp%netscape.com
a293a6d95d Fixed various incremental reflow bugs (1764,12890,1910,2222) and list bullet painting bug (10675,13599)
git-svn-id: svn://10.0.0.236/trunk@47481 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 00:28:10 +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
kipp%netscape.com
858dd7ad39 Reduce stack size by allocating nsLineLayout objects from the heap when the frame tree depth gets too big (bug #10310)
git-svn-id: svn://10.0.0.236/trunk@44919 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:45:37 +00:00
troy%netscape.com
2d2d09d1e8 Fixed incremental painting problem
git-svn-id: svn://10.0.0.236/trunk@41760 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 16:50:52 +00:00
troy%netscape.com
947927e816 Renamed DeleteFrame() to Destroy()
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
kipp%netscape.com
2b3dad791b Various and sundry bug fixes
git-svn-id: svn://10.0.0.236/trunk@39298 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:26:20 +00:00
troy%netscape.com
f6bc6f48ef Changed Reflow() and ReflowDirtyLines() to invalidate the damaged areas
after an incremental reflow


git-svn-id: svn://10.0.0.236/trunk@39260 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:16:56 +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
kipp%netscape.com
cbad273759 Removed some cruft
git-svn-id: svn://10.0.0.236/trunk@29599 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:19:28 +00:00
kipp%netscape.com
1ac9d7fd5e Added first letter support
git-svn-id: svn://10.0.0.236/trunk@29546 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:11:05 +00:00
kipp%netscape.com
1d08039f88 Fixed up child incremental reflow to only reflow the necessary number of lines (hopefully)
git-svn-id: svn://10.0.0.236/trunk@28496 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 19:58:38 +00:00
kipp%netscape.com
725229caa6 Fixed up insertion code to support inserting blocks; tweaked FirstChild impl to work better; removed some no longer needed code
git-svn-id: svn://10.0.0.236/trunk@28325 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 21:51:39 +00:00
kipp%netscape.com
2fe859b76d Implement first-line support; update some api's to use nsIPresContext*'s instead of nsIpresContext&'s
git-svn-id: svn://10.0.0.236/trunk@28185 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:27:43 +00:00
joki%netscape.com
14135f22e6 Fix event handling on background areas of tags.
git-svn-id: svn://10.0.0.236/trunk@27371 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:29:08 +00:00
kipp%netscape.com
37f9403e9e Reworked the state recovery logic for incremental reflow
git-svn-id: svn://10.0.0.236/trunk@26158 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:59:01 +00:00
kipp%netscape.com
951e615c71 Reflow floater frames using the block reflow context
git-svn-id: svn://10.0.0.236/trunk@25782 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:37:36 +00:00
kipp%netscape.com
34e1ac3798 Added methods to support pre-collapsing of top-margins; expose class-id for nsBlockReflowContext code
git-svn-id: svn://10.0.0.236/trunk@25291 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 01:21:21 +00:00
kipp%netscape.com
1a8d633e4e Fixed bugs #1277, #2007 and #1517 and #1918; rendering is improved for floaters and a minimim height rule is now enforced for computed-height situations
git-svn-id: svn://10.0.0.236/trunk@25153 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-26 00:39:04 +00:00
peterl%netscape.com
233822bc0d augmented ReResolveStyleContext to capture style change information
git-svn-id: svn://10.0.0.236/trunk@25093 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:43:38 +00:00
kipp%netscape.com
7033e3dcaf Redid ReflowFloater api
git-svn-id: svn://10.0.0.236/trunk@24787 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:25:20 +00:00
kipp%netscape.com
ad2b17bf7e Added GetDepth debug method
git-svn-id: svn://10.0.0.236/trunk@24715 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 22:41:09 +00:00
kipp%netscape.com
a6e54a1b19 Support redo-reflow for lines to handle reflow around large floaters
git-svn-id: svn://10.0.0.236/trunk@24604 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-21 01:15:12 +00:00
kipp%netscape.com
d48d7d0f1f Fix wide layout bug in todays build; fixed bug #4013 as well and bug #2589
git-svn-id: svn://10.0.0.236/trunk@24488 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:05:56 +00:00
kipp%netscape.com
83f5d0de70 Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc.
git-svn-id: svn://10.0.0.236/trunk@24321 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-18 21:03:25 +00:00
kipp%netscape.com
99c54cef53 Fixed numerous frame removed bugs (bug #3262)
git-svn-id: svn://10.0.0.236/trunk@24215 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 19:36:00 +00:00