bmlk%gmx.de
5be60c13bc
query the reflow path only during incr. reflow bug 264620 r/sr=bzbarsky
2004-10-16 18:21:15 +00:00
roc+%cs.cmu.edu
44a2fd5b52
Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
2004-09-14 02:28:03 +00:00
bmlk%gmx.de
02de8104c7
don't cause twice a initial reflow on a caption bug 258379 r/sr=bzbarsky
2004-09-11 06:08:53 +00:00
dbaron%dbaron.org
01f5e54ff0
Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
2004-09-02 23:27:23 +00:00
bmlk%gmx.de
879d8114ba
bring condition and action in better sync when oversized nested pct based table frames are reduced in size bug 254344 r/sr=bzbarsky
2004-08-31 18:57:06 +00:00
dbaron%dbaron.org
c200b49750
Back out the rest of bug 72747 due to Tp regression.
2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
5948a3cb75
Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc
2004-08-26 17:11:20 +00:00
dbaron%dbaron.org
94bc9d26c8
Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
2004-08-10 01:32:10 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
0fd21c3872
Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net
910e44a7d5
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
692a414811
Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
be1b821056
Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
2004-07-14 21:58:34 +00:00
bzbarsky%mit.edu
d44c8e2932
Change mCBReflowState to mean the containing block of _this_ reflow state
...
instead of the containing block of kids. Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations). Bug 135082,
r+sr=dbaron
2004-04-24 17:56:23 +00:00
gerv%gerv.net
708b56cff4
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
83eb215db9
Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner
2004-04-18 13:13:35 +00:00
kyle.yuan%sun.com
b30731f177
Bug 239962 Incorrect table layout caused by Sun compiler with -xO5
...
r=roland.mainz, sr=roc, a=mkaply
a workaround for the Sun Forte compiler's bug.
2004-04-08 13:46:57 +00:00
dbaron%dbaron.org
41c16857c2
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
2004-03-12 04:40:17 +00:00
roc+%cs.cmu.edu
8397ac8d8f
Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
ab4ac54b6f
inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
2004-03-03 18:24:20 +00:00
roc+%cs.cmu.edu
e7f165c614
Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
2004-01-09 14:20:53 +00:00
bmlk%gmx.de
d481d3e19e
reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc
2003-12-28 17:02:40 +00:00
dbaron%dbaron.org
f9aa023719
Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa
2003-12-12 23:00:54 +00:00
bmlk%gmx.de
fa801de1c9
avoid pointer to old overflow area as this may change underneath (FMR), bug 226870, r/sr=dbaron a=tor
2003-12-04 20:13:09 +00:00
dbaron%dbaron.org
a012b34247
Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa
2003-11-24 19:46:25 +00:00
bmlk%gmx.de
6f183845ad
issue style change reflow also at the table caption when there is a style change reflow
...
that is targeted at the inner table frame. This is currently necessary due to bizarre
style contetxt relationsship between inner and outer table frame, bug 222846 r/sr=bzbarsky
2003-11-09 11:35:52 +00:00
uid502
d81619b4fa
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
2003-10-31 20:19:18 +00:00
bzbarsky%mit.edu
bce5582c9d
Last checkin was actually for bug 222846
2003-10-21 04:32:57 +00:00
bzbarsky%mit.edu
d98065a9a8
Make style-change reflows on the table correctly reflow the caption. Bug
...
222864, r=bernd, sr=dbaron
2003-10-21 04:30:10 +00:00
dbaron%dbaron.org
3de4dc91e0
Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
2003-10-13 21:51:02 +00:00
bmlk%gmx.de
e8658a232f
build fix take 2
2003-09-13 17:34:10 +00:00
bmlk%gmx.de
98d631d0c8
fix for broken build on mac
2003-09-13 17:14:15 +00:00
bmlk%gmx.de
9c62c67b67
overflow area implementation for table frames, bug 173277 r=jkeiser sr=dbaron
2003-09-13 16:26:30 +00:00
dbaron%dbaron.org
cea9489581
Make margins between tables and captions collapse correctly when negative margins are involved. b=213465 r=bernd sr=roc
2003-07-23 23:04:37 +00:00
bzbarsky%mit.edu
b2ba25b6fd
Move to the double-'::' notation for various pseudo-elements.
...
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
roc+%cs.cmu.edu
08a4a0dd2a
Ongoing deCOMtamination. r+sr=dbaron
2003-07-07 02:01:29 +00:00
dbaron%dbaron.org
75ff60c62f
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
2003-05-15 03:42:21 +00:00
dbaron%dbaron.org
10222fc8e5
The table outer frame should not get events for any coordinates, since it includes the margins of the table and caption. b=200966 r=bernd sr=bzbarsky
2003-04-09 21:14:51 +00:00
bmlk%gmx.de
5fe83d7fe4
compute margin based overflow area for innertable and caption frame bug 198009 r/sr=bzbarsky
2003-03-21 19:32:09 +00:00
bzbarsky%mit.edu
83e46b1a49
Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
...
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
bmlk%gmx.de
9359dc9771
require the presence of the inner table frame for reflow bug 189751 r=jkeiser sr=roc+moz
2003-03-14 10:31:55 +00:00
dbaron%dbaron.org
6dd68f3c64
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
e43f5a49fd
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
57124d8115
Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu
69151bc05f
Replace NS_BLOCK_WRAP_SIZE with making unconstrained-width reflow of frames with NS_BLOCK_SPACE_MGR consider the floats. This means we no longer use the overflow area for layout (other than the overflow property). Handle right floaters in unconstrained width reflow by just treating them as left floaters. b=172896 r+sr=roc
2002-12-19 00:12:08 +00:00
bernd.mielke%snafu.de
18c9e6244b
dont consider the outer table frame twice for a selection, bug 182449, r=karnaze sr=dbaron
2002-12-03 05:22:32 +00:00
bernd.mielke%snafu.de
4abbad8856
Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin
2002-11-08 05:29:34 +00:00
bernd.mielke%snafu.de
cb0b0bbf0b
pass selection correctly to the children of a caption, bug 164313, r=dbaron sr=bzbarsky a=dbaron
2002-10-25 04:53:41 +00:00
karnaze%netscape.com
1faf4c0592
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
waterson%netscape.com
84901d3ed5
Bug 145272. Handle incremental reflows that are targeted at a child of a caption frame. r=karnaze, sr=jst
2002-05-23 18:51:02 +00:00
jst%netscape.com
1075a3f80d
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu
0d941d730b
Store containing block reflow state so we don't have to walk up the tree to find it every time. b=143706 r=attinasi sr=waterson
2002-05-14 12:59:55 +00:00
waterson%netscape.com
e3554c37cc
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
2002-05-10 18:22:41 +00:00
attinasi%netscape.com
3dd4ebc58e
stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr
2002-04-07 18:26:35 +00:00
karnaze%netscape.com
5fd3b234da
bug 123983 - set mIsTopOfPage in the reflow state, fix desired height in rows and row groups, clean up nsTableRowGroupFrame::SplitRowGroups and handle more cases of splitting/moving rows. a=roc+moz, sr=attinasi, r=alexsavulov
2002-03-27 05:50:24 +00:00
dbaron%fas.harvard.edu
8e8fb14ea0
Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa
2002-03-27 02:38:13 +00:00
karnaze%netscape.com
303ce25eb2
bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron.
2002-03-12 15:21:35 +00:00
shaver%mozilla.org
146f2a192d
reversion of patch for 92868, to repair severe regression (129827, a=drivers
2002-03-10 06:16:01 +00:00
karnaze%netscape.com
789e7e3040
bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa.
2002-03-08 15:34:33 +00:00
karnaze%netscape.com
679c575202
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
2002-02-19 15:48:28 +00:00
timeless%mac.com
92bbd3b2c2
Bug 124744 remove nsIPtr
...
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
waterson%netscape.com
854831c91c
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
2001-12-17 22:39:59 +00:00
bernd.mielke%snafu.de
98b8d75589
bug 106966 more table frames will now be able to clip the overflow r=karnaze sr=attinasi
2001-12-09 05:39:45 +00:00
karnaze%netscape.com
748ebbcd0d
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
karnaze%netscape.com
657d552367
bug 112182 - check for null pointers, sr=attinasi, r=bernd.
2001-11-29 15:55:27 +00:00
karnaze%netscape.com
9cab58e6b8
bug 110474 - fix pixel rounding errors. sr=attinasi, r=bernd
2001-11-19 15:51:28 +00:00
karnaze%netscape.com
436e1ac49e
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bernd.mielke%snafu.de
e9fa6f71b3
style change reflows should be send down to the childrens, bug 108340, r=karnaze
...
sr=attinasi
2001-11-14 11:40:03 +00:00
bzbarsky%mit.edu
f2ee8260a0
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
karnaze%netscape.com
ac5eb2994a
bug 105166 - additional patch to place rounding code in the right place. sr=attinasi.
2001-11-07 02:38:49 +00:00
karnaze%netscape.com
128e7ac8d2
bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
2001-11-01 15:31:13 +00:00
karnaze%netscape.com
5e56b564c2
bug 106158 - changed outer table fix up of nested inner table's computed width to consider if the min width fits.
...
removed tree specific code. sr=waterson, r=alexsavulov.
2001-11-01 04:17:30 +00:00
karnaze%netscape.com
e38dff73f8
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
karnaze%netscape.com
a6e8940c99
bug 86314 - invalidate properly when the inner table changes width. sr=attinasi, r=kmcclusk.
2001-10-22 14:24:54 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
waterson%netscape.com
7241191f29
Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi
2001-09-21 00:53:29 +00:00
karnaze%netscape.com
e908dd0313
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
2001-09-19 12:35:19 +00:00
jgaunt%netscape.com
9f2f88aa48
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
karnaze%netscape.com
b275f456fe
bug 88524 - don't skip the reflow of the inner table if it is pct height. sr=timeout, r=alexsavulov
2001-08-06 14:23:50 +00:00
karnaze%netscape.com
2be20eaef3
bug 76421 - remove optimization (to skip reflow if size didn't change) on initial reflow. a=asa, sr=attinasi, r=peterl
2001-06-13 02:27:22 +00:00
bernd.mielke%snafu.de
8052df4516
fix table margins - remove redundancy in margin handling, bug 83786
...
r=karnaze sr=attinasi a=dbaron
2001-06-06 07:35:03 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
evaughan%netscape.com
d9378cb8f0
Fix for bug #80902
...
-r jeff@tcbnetworks.com -sr waterson
Fix for bug #80505
-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
evaughan%netscape.com
94198ed5d8
Landing accessibility
...
-r aarol, jgaunt
-sr brendan
2001-05-11 21:11:38 +00:00
pierre%netscape.com
08aac85e54
43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
2001-05-03 13:20:48 +00:00
evaughan%netscape.com
dd702eea33
XP part of accessibility landing
...
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
karnaze%netscape.com
d1cda12bca
bug 73629 - adjust mComputedWidth of a table or caption if it's nested, larger than avail width, not initial reflow. sr=attinasi
2001-03-28 21:19:31 +00:00
karnaze%netscape.com
a81a269978
table reflow coalescing, table reflow face lift. sr=attinasi
2001-03-13 06:38:59 +00:00
dcone%netscape.com
90ca463905
Checking for a printer before some optimizations.. which are not good for printing. sr=attinasi r=karnaze
2001-02-27 14:52:07 +00:00
rbs%maths.uq.edu.au
da17b2181d
Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson
2001-02-23 12:35:34 +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
karnaze%netscape.com
3540f6b858
bug 67861 - don't rebalance table to calculate max width; cache last available width in outer table; improved debug reflow timing; sr=attinasi, r=peterl
2001-02-07 04:31:38 +00:00
dbaron%fas.harvard.edu
911b877a4c
Fix UMR (returning an uninitialized result) that caused bonsai query results to disappear sometimes. b=67854 r=karnaze@netscape.com sr=attinasi@netscape.com
2001-02-07 04:00:40 +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
karnaze%netscape.com
e105667e95
bug 60494 - only request the max width of the innner table if it is requested of the outer table. sr=buster, r=peterl.
2001-01-25 16:00:59 +00:00
karnaze%netscape.com
623b6521ad
better table reflow debugging including support for elapsed time. sr=buster.
2001-01-25 15:55:51 +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
fc43e52da5
changing the name of the reflow state in the reflow counter macro
...
b=61496 r=kmcclusk sr=waterson
2000-11-30 21:51:21 +00:00
karnaze%netscape.com
667b9b772d
bug 55545 - set the table preferred width during an unconstrained reflow. Return the preferred width as the maximum width when requested in the outer table reflow. a=buster, r=dcone
2000-11-29 22:30:09 +00:00
attinasi%netscape.com
b96825ada0
Implemented GetParentContextProvider for the table frames to allow them to specify a frame other than their parent as the provider of their parent style context. b=45210 r=karnaze
2000-09-12 22:48:35 +00:00
karnaze%netscape.com
08e46efc4c
bug 39209 - don't use auto margins for max element size and maximum widths (when requested
...
during an incremntal reflow).
2000-09-11 00:02:04 +00:00
karnaze%netscape.com
7aea563c64
nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
2000-05-25 22:40:21 +00:00
joki%netscape.com
a743e2b38b
Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
2000-05-16 11:35:12 +00:00
karnaze%netscape.com
5a47e0b789
bug 38699 - make left/right align caption act like top instead of bottom.
2000-05-10 14:51:37 +00:00
karnaze%netscape.com
a02cdba83c
bug 37037, 37490, and a table paganation problem when captions are present.
2000-05-04 23:16:42 +00:00
karnaze%netscape.com
6e6baf6140
bug 37791 - calculate auto margins during an incremental reflow.
2000-05-04 14:49:35 +00:00
karnaze%netscape.com
0556a06189
Removed FixBadReflowState, added an assert if boxes try to set outer table reflow state computed values when a caption is present.
2000-05-01 02:25:08 +00:00
karnaze%netscape.com
1053177d73
Fix for Linux bustage, bug 37643. Give outer table reflow state initial computed values of 0 to avoid excessive reflows from boxes.
2000-04-30 22:29:01 +00:00
karnaze%netscape.com
65511dc8d6
new reflow/layout code for outer table to handle captions and margins. better % height handling.
...
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +00:00
rods%netscape.com
87ca6a324b
Add ifdef'ed Performance Reflow Counting code
2000-04-21 21:36:33 +00:00
karnaze%netscape.com
e8551741db
bug 8398 - correct the placement of the caption during an incremental reflow targeted at the inner table.
2000-04-05 00:06:20 +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
karnaze%netscape.com
8b9dac0046
PDT+ bug 29429 - incremental reflow and nested tables, r=troy, a=rickg
2000-03-09 08:45:26 +00:00
karnaze%netscape.com
fb8782b61f
PDT+ bug 28341 - Destroy caption frame when outer table frame is destroyed. Add caption to outer frame rather than inner frame. r=troy, a=rickg
2000-03-02 06:09:37 +00:00
karnaze%netscape.com
49f3412344
bug 10636, 15499(partial) - correctly get margin,border,padding from reflow info. calculate it for percentage padding when reflow state not available. r=troy
2000-02-12 01:55:40 +00:00
karnaze%netscape.com
f60386c319
bug 8411 - the outer table cannot be made narrower than the captions min width, r=attinasi
2000-02-04 02:47:13 +00:00
pp%ludusdesign.com
58065dda04
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
karnaze%netscape.com
8b1ddd5c4d
bug 1809, 0 width tables (not trees) become auto, r=dcone, (hyatt)
2000-01-28 15:43:25 +00:00
karnaze%netscape.com
bce1929fcf
bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
...
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
troy%netscape.com
4f738fb73f
r=nisheeth@netscape.com Added asserts to help catch the case of poorly
...
targeted reflow commands
2000-01-26 22:11:47 +00:00
cmanske%netscape.com
acb4eb592c
Table editing (bug 20973): return reported and actual rowspan and colspan values from GetCellDataAt(), r=karnaze
2000-01-26 14:56:06 +00:00
karnaze%netscape.com
d41822031d
bugs 19061, 9879 - each top level row group gets its own cell map; CellData reduced to 4 bytes.
2000-01-13 05:29:38 +00:00
hyatt%netscape.com
cd2878d48e
Removing my lame comment.
2000-01-11 19:49:04 +00:00
troy%netscape.com
b5bd38b59c
b=23239. Changed tables to incrementally update maximum width (natural width)
...
if requested. Now we only do a single reflow when processing table cell
incremental reflow instead of the three reflows we had to do before
2000-01-11 15:55:31 +00:00
hyatt%netscape.com
0e8c3d1636
Improving trees.
2000-01-10 03:04:05 +00:00
karnaze%netscape.com
0fbc252ef9
bug 12287 - honors mComputed values in reflow state and uses CSS box-sizing property.
2000-01-02 22:55:48 +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
troy%netscape.com
f5ba346bdc
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
troy%netscape.com
0959b411de
r=kipp@netscape.com
...
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
karnaze%netscape.com
d660d6c031
bug 15958(partial) - uses mComputedWidth instead of availableSize.width. r=buster; asked hook for permission, got no response.
1999-10-18 13:47:01 +00:00
karnaze%netscape.com
8589f840a1
bug 15247 - ComputeAvailableTableWidth accounts for margins
1999-10-14 04:03:20 +00:00
karnaze%netscape.com
48c216257e
removed handling of 0 width cells in ComputeAvailableTableWidth since it is done in nsHTMLTableElement. review=kmcclusk
1999-10-13 14:39:33 +00:00
troy%netscape.com
1be0909b54
Hooked up SizeOf() for cell map and table layout strategies. Also added in
...
some table frame data that was missed
1999-10-02 00:02:54 +00:00
karnaze%netscape.com
95e4bec1f7
removed border subtraction from out table frame and adjusted in layout strategy.
1999-09-13 21:45:58 +00:00
karnaze%netscape.com
5b0679f4bf
bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption.
1999-09-02 00:07:14 +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
karnaze%netscape.com
711879206c
bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified.
1999-08-27 21:15:21 +00:00
karnaze%netscape.com
9d31e7c8a1
bug 12590 - vertical-align:middle working on cell
1999-08-27 04:29:05 +00:00
karnaze%netscape.com
a6cc89fba6
backing out recent changes that failed table regression tests
1999-08-26 16:56:42 +00:00
hyatt%netscape.com
229e5bf222
Fix for bug 12887.
1999-08-26 10:23:49 +00:00
karnaze%netscape.com
7bad0d49ba
Added new incremental reflow methods.
...
CellData keeps track of row versus col spans.
nsColFrame keeps track of what cell contributed to constrained width.
nsCellMap::GetCellFrameAt replace with GetCellInfoAt
simplified nsTableCellFrame::RecalcLayoutData and removed FindLargestMargin, CalculateMargins, CalculateMargins
simplified nsTableFrame::RecalcLayoutData and removed AppendLayoutData
Added gsDebugReflow capability, remove all existing debug printf
1999-08-19 19:52:37 +00:00
troy%netscape.com
f901be20dc
Changed to table incremental reflow
1999-08-19 03:51:25 +00:00
troy%netscape.com
cf9667f8f9
Converted outer table frame code over to new reflow command handling
1999-08-10 03:52:15 +00:00
troy%netscape.com
67534a54ff
Work-in-progress for table handling of reflow commands
1999-08-01 22:01:37 +00:00
cmanske%netscape.com
982414f786
Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted.
1999-08-01 18:26:45 +00:00
cmanske%netscape.com
5a6781c3b8
Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods
1999-08-01 16:20:14 +00:00
cmanske%netscape.com
2781d6d9a2
Adding interface for editor access to table layout data
1999-07-31 22:11:50 +00:00
troy%netscape.com
c551fe3166
Renamed DeleteFrame() to Destroy()
1999-07-22 02:24:52 +00:00
hyatt%netscape.com
9b9522ae73
Landing changes to wrap XUL windows in a box frame so that we can support
...
intrinsic sizing of windows. (Unlike HTML and XML, we are no longer wrapped
in an area frame. We are instead wrapped in a box frame.)
Also included is a patch for the table code, since it crashes inside boxes
because of a bug in its incremental reflow code.
nsISpaceManager was touched to give it a GetIID method so that it could be
used with nsCOMPtrs.
1999-07-02 05:28:32 +00:00
karnaze%netscape.com
b25ca60568
removed temp windows code added by accident
1999-06-10 03:48:06 +00:00
peterl%netscape.com
7238b595f5
#ifdef'd out windows specific timer code
1999-06-10 03:43:43 +00:00
karnaze%netscape.com
a4f30df4ac
bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame
1999-06-10 02:29:34 +00:00
mjudge%netscape.com
4bff71e096
reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
1999-05-20 00:52:00 +00:00
kipp%netscape.com
4846f41f1f
Reworked frame factory methods; fixed bug 4519
1999-05-11 22:03:29 +00:00
troy%netscape.com
03e8dd2540
Removed some code from nsContainerFrame that is no longer needed now that'
...
we have nsFrameList
1999-04-12 23:46:02 +00:00
karnaze%netscape.com
5797be9505
code clean up, use of macros for debugging
1999-04-04 00:06:48 +00:00
kipp%netscape.com
60f52440cb
Whacked paint methods to use new constants
1999-03-26 00:39:35 +00:00
troy%netscape.com
5cfdeeea7c
Added some XXX comments
1999-03-06 05:03:09 +00:00
kipp%netscape.com
9ddafbd9f8
use new nsHTMLReflowState ctors
1999-03-05 04:19:09 +00:00
troy%netscape.com
3bdf672129
Removed nsIFrame::CreateContinuingFrame()
1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6
Changed nsIFrame::Init() to take an additional parameter
1999-02-25 03:27:57 +00:00
troy%netscape.com
47cbdb1e9d
Added frame type atoms for several table frame classes
1999-02-24 05:54:31 +00:00
troy%netscape.com
03c5c1f520
Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
...
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
034aa56b83
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy%netscape.com
c85f9efd2a
Changed GetParent() to use ** instead of *&
1999-02-10 01:36:30 +00:00
troy%netscape.com
b974e26cea
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
buster%netscape.com
fc8952dd64
fixed bug 2516. The InitChildList code needed to check display types before
...
assigning the mCaptionFrame member variable.
1999-01-20 07:27:06 +00:00
kipp%netscape.com
7f96144059
Spanked away SizeOf methods and nsIListFilter
1999-01-16 00:00:50 +00:00
kipp%netscape.com
065905fa0b
Used revised version of nsContainerFrame that uses an nsFrameList instead of a raw nsIFrame*
1999-01-15 22:52:05 +00:00
buster%netscape.com
952eb9a53e
comments and removal of dead code
1999-01-15 19:55:19 +00:00
troy%netscape.com
036e6852f2
Removed the content-parent frame pointer. Now we just have the one geometric
...
parent
1999-01-14 05:16:23 +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
7b5cc03059
Moved logic that deals with moving absolutely positioned frames out of the
...
flow to the frame construction code
1998-12-29 03:38:16 +00:00
kipp%netscape.com
c29e5116c7
Revised frame Paint API
1998-12-18 15:54:23 +00:00
troy%netscape.com
7afd123cd9
Fixed a crash when resizing the print preview window
1998-12-09 04:26:42 +00:00
troy%netscape.com
399c1e7868
Initial table pagination support
1998-12-08 17:57:45 +00:00
buster%netscape.com
23112ce100
minor optimizations and cleanup. removed constructors that did nothing.
1998-12-03 20:19:01 +00:00
troy%netscape.com
2a4b2c503f
Added Init() member function to nsIFrame
1998-12-03 06:31:43 +00:00
wtc%netscape.com
59b32f50ef
This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
...
C++ compiler is strict about getting 'const' right. Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
buster%netscape.com
3ddfe1c165
2 Nav4 compatibility additions:
...
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.
1998-11-25 18:43:56 +00:00
kipp%netscape.com
a6926809f0
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +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
081c78e696
First of a few changes to allow frames to have multiple child lists.
...
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
buster%netscape.com
03cad6390d
some extremely preliminary work for styleChanged incremental reflow
1998-10-30 07:57:44 +00:00
buster%netscape.com
5062d0261a
fixed several incremental reflow bugs
1998-10-21 22:29:00 +00:00
buster%netscape.com
e220aee18d
all containers now decend from nsHTMLContainerFrame
...
all "unknown frame" incremental reflow support methods now
replaced with nsHTMLContainerFrame::AddFrame and ::RemoveFrame
1998-10-20 17:45:07 +00:00
buster%netscape.com
0d373afd21
lots of work for incremental reflow when the target frame is a table frame
1998-10-14 16:32:45 +00:00
kipp%netscape.com
a77548baff
Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state
1998-10-12 17:00:32 +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
buster%netscape.com
56237b7411
WIP for inner table incremental reflow
...
lots of interface cleanup
1998-10-11 09:18:27 +00:00
buster%netscape.com
2aa95d75a8
support nsTableOuterFrame incremental reflow
1998-10-09 19:59:45 +00:00
troy%netscape.com
d25a9a35a2
Removed GetContentIndex() from nsIFrame
1998-10-08 20:35:16 +00:00