rods%netscape.com
8b5d71dc38
Don't paint blocks that shouldn't be painted when printing
...
Bug 67296 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88901 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:46:44 +00:00
waterson%netscape.com
06336b484f
Bug 71181. Revert attinasi's changes for bug 70730.
...
git-svn-id: svn://10.0.0.236/trunk@88831 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 20:15:35 +00:00
attinasi%netscape.com
35ec037877
Fix for printing crash when bulleted items have no bullet and we assume they do. Added assertion to help find the cause of the problem, and checks for null to prevent the crash. b=70730 r=dcone sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@88722 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:38:45 +00:00
rbs%maths.uq.edu.au
d9c1a81f37
Shift frame-state bits in implementations to the 12 higher bits - bug 68411 r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@87805 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:42:12 +00:00
buster%netscape.com
342b94a380
bug 45152 (Typed text does not render in TextAreas with a horizontal scrollbar)
...
fixed by adding a flag in nsLineBox for the content of a line to mark it "forceInvalidate",
logic in nsLineLayout to set the line dirty for initial reflow of text frames,
and logic in block to check the new flag.
r=kin
git-svn-id: svn://10.0.0.236/trunk@77051 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:26:43 +00:00
rbs%maths.uq.edu.au
fe6ee91829
Enable the code to export the baseline out of the block frame code to support 'vertical-article: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:buster@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@75038 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:18:15 +00:00
waterson%netscape.com
cf2a3109e3
Bug 44709. Maintain renumbering depth on stack, instead of in a global. r=roc+moz@cs.cmu.edu
...
git-svn-id: svn://10.0.0.236/trunk@75037 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:02:34 +00:00
waterson%netscape.com
86cf521ec9
Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu
...
git-svn-id: svn://10.0.0.236/trunk@74887 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 05:16:08 +00:00
dbaron%fas.harvard.edu
f756eb4076
Fix bug 43882 (dogfood+) by removing special handling of empty P elements. (Most of the diffs are whitespace changes.) This also fixes bugs 43369, 43991, and 18050. However, it exposes a few other issues as well (the most important of which, nuking top margins on first *normal flow* children of BODY and TD, was previously fixed only in some cases, but shouldn't be hard to fix in general). r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@73541 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:03:42 +00:00
buster%netscape.com
91f736fa91
fixed bug 41757
...
file also contains some debug only code (disabled), another bug fix (also disabled), the removal of
some obsolete code that was already #ifdef'd out, and a bunch of new comments
r=mjudge, waterson
git-svn-id: svn://10.0.0.236/trunk@72006 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 22:14:33 +00:00
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