attinasi@netscape.com
9fc8e6d9cc
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
4424dce61b
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
e8403a2f92
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
f90e32ebd9
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
aedf3b97f3
don't substract caption margins twice, bug 91057, r=karnaze sr=waterson
2001-08-09 05:24:14 +00:00
shanjian@netscape.com
513f93830c
#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
0a161e1465
#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
b46d1c0dfe
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
dfdfa14592
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
ftang@netscape.com
194670aba2
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
755e491e93
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
d24bee0abc
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
6de2ca985d
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
64caf1eafd
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
36b93dec38
Fix for 70704, r=brendan, sr=attinasi
2001-03-03 21:57:56 +00:00
pierre@netscape.com
5f165d8dc9
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
ada852d3a7
mispelled #ifdef DEBUG
2001-02-01 02:26:26 +00:00
karnaze@netscape.com
d0acaa4c41
forgot the #ifdef DEBUG around mDebugHook.
2001-01-25 15:57:46 +00:00
karnaze@netscape.com
181434195e
better table reflow debugging including support for elapsed time. sr=buster.
2001-01-25 15:55:51 +00:00
mcafee@netscape.com
99b5642905
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
37a4efae45
#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
c0ed0d0271
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
ac53487334
bug 43204 - zero out padding for row/col group, ro/col, sr=buster
2000-12-21 23:05:15 +00:00
karnaze@netscape.com
44abbede00
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
0462ea4ce8
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
7730ce0cd3
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
dad6bae662
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
ddf9bac577
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
450a58a654
bug 49239
...
r=hyatt
bug 42372
r=waterson
2000-08-24 04:38:08 +00:00
dbaron@fas.harvard.edu
60feab1fd7
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
173e169aa6
bug 41306 - remove special cell auto percentage base code, r=rods
2000-06-15 14:54:04 +00:00
erik@netscape.com
c6cb6dd9b4
make line-height calculation language-sensitive to avoid overlapping lines
2000-05-17 06:47:56 +00:00
cls@seawood.org
20eeb85a09
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
8cd5df6549
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
6cd49681e9
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
9d401df953
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
32774713e9
bug 37037, 37490, and a table paganation problem when captions are present.
2000-05-04 23:16:42 +00:00
karnaze@netscape.com
4519e7e34a
consider captions as blocks to calculate box-sizing.
2000-05-04 14:47:37 +00:00
karnaze@netscape.com
0948eab6f6
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
45eb06d8c6
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
742a8e4593
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
92f336c9ea
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
cd8ea83a58
b=6252 Fixed problem with computing of hypothetical box
2000-04-20 04:44:32 +00:00
troy@netscape.com
639a1c4f11
b=36220 Added check for a frame type of "areaFrame"
2000-04-19 03:27:31 +00:00
troy@netscape.com
ae9fe5bf48
b=36095 Fixed problem in GetNearestContainingBlock()
2000-04-18 05:03:42 +00:00
troy@netscape.com
8505bcb14b
New rules for absolute positioning
2000-04-16 04:07:02 +00:00
troy@netscape.com
bf7f7e15d6
b=26184 r=karnaze@netscape.com Changed it so that for a percentage width based
...
floater if the containing block width is unconstrained we use NS_UNCONSTRAINEDSIZE
for the floater's computed width. We were using 0 and this was causing table column
widths to be incorrect
2000-02-13 17:55:18 +00:00
troy@netscape.com
56db3751a3
b=25245 Changed ComputeContainingBlockRectangle() to set the containing
...
block width to NS_UNCONSTRAINEDSIZE if it is an unconstrained reflow.
This way percentage based widths are treated properly
2000-01-30 18:40:48 +00:00
nisheeth@netscape.com
bd43d81d01
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.
2000-01-12 08:28:24 +00:00
sspitzer@netscape.com
243a77b614
fixes to turn bug #22916 into a blank window bug (instead of a crasher)
...
r=troy
2000-01-11 22:15:20 +00:00