Commit Graph

125 Commits

Author SHA1 Message Date
karnaze%netscape.com
8d3c3ea8b9 bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov 2001-11-05 00:15:51 +00:00
dbaron%fas.harvard.edu
157c017816 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson
2001-10-25 01:08:40 +00:00
bernd.mielke%snafu.de
a241132e43 bug 104898 the borderpadding should not influence the inner table margin relative to the
outertable frame r=karnaze sr=attinasi
2001-10-24 14:36:33 +00:00
attinasi%netscape.com
dbbe5d88fb Checkin for tingley@sundell.net - Blinking text optional via pref b=19258 r=dbaron sr=attinasi 2001-10-24 04:51:34 +00:00
hyatt%netscape.com
0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
dbaron%fas.harvard.edu
edc11e5ad3 Fix 'text-decoration: blink' and the blink element. Patch from Chase Tingley <tingley@sundell.net>. r=dbaron sr=hyatt b=89065 2001-10-11 00:15:09 +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
attinasi%netscape.com
2ddbc70494 Fixed performance issue by restricting the cases in which we traverse up the frame tree looking for a containing block with a real computed height. b=85016 r=karnaze sr=waterson 2001-09-11 00:12:28 +00:00
attinasi%netscape.com
f69167707b Tweaked the existing CalcQuirkContainingBlockHeight method to allows for percentage based elements in deeply nested blocks, instead of just elements that are directly in the BODY. b=85016 r=karnaze sr=waterson 2001-09-08 20:09:08 +00:00
waterson%netscape.com
48483431d2 Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi 2001-09-05 20:27:19 +00:00
bernd.mielke%snafu.de
6c51b86add handle captions and innertable frames identical if the containing block is to small,
bug 76726 r=karnaze sr=waterson
2001-08-21 19:31:53 +00:00
bernd.mielke%snafu.de
46ebaf77da don't substract caption margins twice, bug 91057, r=karnaze sr=waterson 2001-08-09 05:24:14 +00:00
shanjian%netscape.com
f44e81b6c1 #41461
This checkin correct a minor leftout in previous checkin.
r=rbs@math.uq.edu.au  sr=attinasi
2001-07-24 22:48:54 +00:00
shanjian%netscape.com
0f3690298d #41461 Japanese is not wrapped in correct position compared with ascii.
r/sr = attinasi
We should use document langGroup to load font and check width. Locale langGroup will not work well.
2001-07-24 21:45:45 +00:00
dbaron%fas.harvard.edu
fc01a17366 Make the width of floats with |width: auto| depend only on the width of the containing block and the contents of the float and not on the available space. Remove the loop calling ReflowFloater at different positions that is no longer needed, and remove the caching of the max element size for that loop that was not being invalidated correctly between reflows. Fix handling of margin, border, and padding for computation of available width for |width: auto| floaters. r=attinasi sr=waterson b= 85876, 82314, 82315, 85216, 85874, 86746 2001-07-19 02:33:43 +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
ftang%netscape.com
2924f5e7ab fix 79653. check in for simon@softel.co.il
r=ftang sr=attanasi
remove unnecessary code in IBMBIDI due to previous check in
2001-05-18 20:33:08 +00:00
attinasi%netscape.com
491b2848f8 Commented out assertion that is triggering in table regression tests: problem is covered by bug 71210, this just removes the assertion alert. r=karnaze 2001-03-28 20:06:15 +00:00
erik%netscape.com
06d55ad850 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:29:00 +00:00
attinasi%netscape.com
1db0396ebc Commented out assertion while I find out why HR's are triggering it in some cases... 2001-03-08 15:48:48 +00:00
attinasi%netscape.com
f806131aeb Fixes box-sizing for absolutely positioned elements. b=67690 r=waterson (and buster R.I.P), sr=hyatt 2001-03-06 05:56:19 +00:00
hyatt%netscape.com
9e4f2b23f8 Fix for 70704, r=brendan, sr=attinasi 2001-03-03 21:57:56 +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
98781a0f2c mispelled #ifdef DEBUG 2001-02-01 02:26:26 +00:00
karnaze%netscape.com
7b4e160ba2 forgot the #ifdef DEBUG around mDebugHook. 2001-01-25 15:57:46 +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
edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
karnaze%netscape.com
72e4c1afd4 bug 43204 - zero out padding for row/col group, ro/col, sr=buster 2000-12-21 23:05:15 +00:00
karnaze%netscape.com
02d34832e3 bug 50695 - skip form parents when computing a percent basis height in quirks mode. sr=buster, r=pollmann 2000-11-29 22:31:57 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
buster%netscape.com
13899dbffa bug 29276 (text inside <label> tags within a table cell breaks out of table cell)
bug 1164 (ALIGN=MIDDLE and ALIGN=ABSMIDDLE values are not being supported)
bug 54119 (percentage (%) image (img) heights do nothing)
r=karnaze, rods, attinasi
a=waterson
2000-10-09 21:19:36 +00:00
karnaze%netscape.com
c8ba15ed54 bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone. 2000-10-05 23:49:25 +00:00
buster%netscape.com
9b0a64d2c7 bug 49239
r=hyatt

bug 42372
r=waterson
2000-08-24 04:38:08 +00:00
dbaron%fas.harvard.edu
0d22e864e2 Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038 2000-07-27 23:37:44 +00:00
karnaze%netscape.com
fe4c550189 bug 41306 - remove special cell auto percentage base code, r=rods 2000-06-15 14:54:04 +00:00
erik%netscape.com
23bead6485 make line-height calculation language-sensitive to avoid overlapping lines 2000-05-17 06:47:56 +00:00
cls%seawood.org
149446f3e7 Fix for BeOS and other platforms that don't use the NEW_FONT_HEIGHT_APIS. 2000-05-17 05:07:26 +00:00
karnaze%netscape.com
854d511d3e 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.
2000-05-16 22:55:34 +00:00
pollmann%netscape.com
ccbe4c0000 Bug 23014: Quirks mode percentage height: enable for iframes, enable for native scrollbars, and add safety check for unconstrained height. r=harishd 2000-05-16 22:02:16 +00:00
erik%netscape.com
210b71c14f bug 27164; need to multiply line-height by font's em square height, not
bounding box height; r=buster
2000-05-15 19:40:42 +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
b55c22c6ab consider captions as blocks to calculate box-sizing. 2000-05-04 14:47:37 +00:00
karnaze%netscape.com
87beb13dc1 bug 30692 - skip inner table cell's block as percentage base and use cell instead. r=troy 2000-05-03 14:36:04 +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
troy%netscape.com
f9362437ce b=36635 Fixed a problem with 'auto' margin calculation not taking into
account border/padding
2000-04-29 00:24:53 +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
troy%netscape.com
c450772b1e b=6252 Fixed problem with computing of hypothetical box 2000-04-20 04:44:32 +00:00