808 Commits

Author SHA1 Message Date
karnaze%netscape.com
da24e59c65 bug 45350 - correctly consider rowspan height in table row incremental reflow
git-svn-id: svn://10.0.0.236/trunk@78139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:57:34 +00:00
karnaze%netscape.com
ba59a76950 bug 27529 - round column allocations to even pixel value. bug 18955 - don't allocate a col based on desired content if there is a fixed value. r=peterl.
git-svn-id: svn://10.0.0.236/trunk@77825 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:29:50 +00:00
buster%netscape.com
4c55aad9ff bug 48295 (floating nested table height initially 0, makes layout wrong)
r=karnaze
values from the wrong struct were getting passed into SetTallestCell


git-svn-id: svn://10.0.0.236/trunk@77723 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 02:57:58 +00:00
buster%netscape.com
0a65af6558 bug 3992
chris k did the work.
r=buster


git-svn-id: svn://10.0.0.236/trunk@77060 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 05:03:18 +00:00
rbs%maths.uq.edu.au
b082477bba Enable the code to support for 'vertical-align: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:karnaze@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@75039 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 09:19:26 +00:00
karnaze%netscape.com
14ce92879a bug 40721 - put back fix that was erroneously backed out. r=rods from before.
git-svn-id: svn://10.0.0.236/trunk@73763 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:58:54 +00:00
karnaze%netscape.com
0bdadeb834 bug 43732 - correctly calculate preferred width of table and cache it. r=syd.
git-svn-id: svn://10.0.0.236/trunk@73760 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:37:28 +00:00
cls%seawood.org
7fb57d53ad Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner
git-svn-id: svn://10.0.0.236/trunk@73643 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 18:44:42 +00:00
cls%seawood.org
91d683a067 Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
git-svn-id: svn://10.0.0.236/trunk@73583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 08:08:04 +00:00
anthonyd%netscape.com
8febe65f8c warning fixes for linux. r: mjudge a: beppe
git-svn-id: svn://10.0.0.236/trunk@72446 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:28:10 +00:00
karnaze%netscape.com
0810fad6c2 bug 42726 - back out previous checkin.
git-svn-id: svn://10.0.0.236/trunk@72328 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 23:39:49 +00:00
karnaze%netscape.com
7e1b9a4668 bug 40721 - better in determining if height of a cell gets smaller during incremental reflow, r=rods
git-svn-id: svn://10.0.0.236/trunk@72312 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:31:12 +00:00
anthonyd%netscape.com
33e5b973b9 warning fix for Linux, shadowed local variable
r: kin


git-svn-id: svn://10.0.0.236/trunk@71762 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:51:58 +00:00
rbs%maths.uq.edu.au
ddcfbea4a3 [#ifdef MOZ_MATHML: not yet part of default build]. Add support for 'vertical-align: baseline' in table-cells. bug 10207. r:karnaze@netscape.com. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71514 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 08:25:11 +00:00
alecf%netscape.com
7ad6d31130 fix #ifdefs to quiet output (speeds up display of complex tables like tinderbox and slashdot.org) - does not affect release builds
git-svn-id: svn://10.0.0.236/trunk@71483 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 09:44:08 +00:00
karnaze%netscape.com
06430e799c nsbeta2+ bug 23345 - layout strategy bases percent over-allocations on style percent values rather than computed values. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@70938 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:13:01 +00:00
karnaze%netscape.com
8cc9e6956a nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@70866 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:40:21 +00:00
karnaze%netscape.com
1979c23f3b bug 28811, 29459, 32507 - added flag to reflow state to handle table cells.
changed table min and max width calculations to include percent and proportional cells.
Include border and padding in min table width calc.


git-svn-id: svn://10.0.0.236/trunk@70140 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:55:34 +00:00
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
anthonyd%netscape.com
8e4f929fe8 avoiding confusion between line iterator between layout and navigation.
if you want a line iterator for navigation you must explicitly ask for one.


git-svn-id: svn://10.0.0.236/trunk@70013 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:11:14 +00:00
anthonyd%netscape.com
ca5bf03af3 more changes to make table navigation in editor
work correctly and not crash.


git-svn-id: svn://10.0.0.236/trunk@69601 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:10:25 +00:00
mjudge%netscape.com
914db7a62a fixing crash when overflowing tables
git-svn-id: svn://10.0.0.236/trunk@69555 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 09:02:27 +00:00
jdunn%netscape.com
06724d8946 adding newline for hp
git-svn-id: svn://10.0.0.236/trunk@69214 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:56:29 +00:00
anthonyd%netscape.com
20e7680b7c r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly


git-svn-id: svn://10.0.0.236/trunk@69124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:04:39 +00:00
karnaze%netscape.com
2ab4c80c67 bug 38699 - make left/right align caption act like top instead of bottom.
git-svn-id: svn://10.0.0.236/trunk@69042 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 14:51:37 +00:00
karnaze%netscape.com
f1700ddd48 bug 29459 - strategy's table min and max width is calculated to include
percent and proportional cells. Stopped caching it. Calculate max element size better.


git-svn-id: svn://10.0.0.236/trunk@68947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:54:00 +00:00
karnaze%netscape.com
8b7fd0b7f0 bug 32471 - incremental reflow considers edge cellspacing when setting desired height
bug 37508 - get the row grp frame when there is a scrolling row grp


git-svn-id: svn://10.0.0.236/trunk@68719 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:39:35 +00:00
karnaze%netscape.com
a84a1ee61a bug 37037, 37490, and a table paganation problem when captions are present.
git-svn-id: svn://10.0.0.236/trunk@68283 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:16:42 +00:00
attinasi%netscape.com
b65f73a73a Put checks for quirk mode before painting table background back in. Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was).
git-svn-id: svn://10.0.0.236/trunk@68258 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:39:14 +00:00
karnaze%netscape.com
2a4c3e66cc bug 37791 - calculate auto margins during an incremental reflow.
git-svn-id: svn://10.0.0.236/trunk@68238 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:49:35 +00:00
troy%netscape.com
31435f5938 b=26792 r=karnaze@netscape.com Change to SplitRowGroup to handle the
case where GetCellInfoAt() returns NULL


git-svn-id: svn://10.0.0.236/trunk@67969 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:47:01 +00:00
karnaze%netscape.com
5fa036be77 Removed FixBadReflowState, added an assert if boxes try to set outer table reflow state computed values when a caption is present.
git-svn-id: svn://10.0.0.236/trunk@67700 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 02:25:08 +00:00
karnaze%netscape.com
bd1b930f20 Fix for Linux bustage, bug 37643. Give outer table reflow state initial computed values of 0 to avoid excessive reflows from boxes.
git-svn-id: svn://10.0.0.236/trunk@67684 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 22:29:01 +00:00
anthonyd%netscape.com
8922af96b4 r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)


git-svn-id: svn://10.0.0.236/trunk@67671 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 18:56:26 +00:00
karnaze%netscape.com
47f205f65f 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.


git-svn-id: svn://10.0.0.236/trunk@67566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:31 +00:00
attinasi%netscape.com
b58f73f0cf Made table backgrounds draw in NavQuirks as well as Standard mode. r=karnaze b=34838
git-svn-id: svn://10.0.0.236/trunk@67558 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:40:17 +00:00
rods%netscape.com
a5da60889f Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66753 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:36:33 +00:00
mjudge%netscape.com
6737cb1c39 made the table temporarily pull from nsLookandFeel until we get style rule working correctly
git-svn-id: svn://10.0.0.236/trunk@65890 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:39:39 +00:00
mjudge%netscape.com
b5c40f47f1 table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture.
git-svn-id: svn://10.0.0.236/trunk@65860 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:21:32 +00:00
karnaze%netscape.com
4658278093 bug 8398 - correct the placement of the caption during an incremental reflow targeted at the inner table.
git-svn-id: svn://10.0.0.236/trunk@65224 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:06:20 +00:00
karnaze%netscape.com
67b057b4e1 bug 2479 - deleting cols and/or colgroups caused incorrect reseting of col group starting index.
git-svn-id: svn://10.0.0.236/trunk@65138 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:28:18 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
hyatt%netscape.com
d186ab03c3 Patching table memory leak. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@64023 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 08:29:21 +00:00
cmanske%netscape.com
e15bf8d5b3 Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze.
git-svn-id: svn://10.0.0.236/trunk@63825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:24:58 +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
cmanske%netscape.com
9c9491d705 Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63550 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:04:02 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
karnaze%netscape.com
cf5fcc4348 bug 30273 - removing the last remaining cell in a row caused the cell map to remove the row during an incremental reflow. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@63123 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 02:21:43 +00:00
troy%netscape.com
00091b65e3 b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange


git-svn-id: svn://10.0.0.236/trunk@63049 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:16:03 +00:00
karnaze%netscape.com
f325f1e22d fix warnings. submitted by jeroen@vangelderen.org, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@63005 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:50:25 +00:00