attinasi%netscape.com
d71e5f8c22
Check for null FontMetrics to prevent crash. r=shanjian sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@119883 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:00:22 +00:00
shanjian%netscape.com
afd38856f3
#76097 Need to include external leading for CJK normal Line-height
...
Font metrics returns both internal and external leading to layout. Layout
now is responsible for calculating the normalLineHeight. It take consideration
of external leading, and compensate if it does not exist. All these are controled
by a preference switch.
r=rbs, sr=attinasi,
git-svn-id: svn://10.0.0.236/trunk@118679 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:00:40 +00:00
karnaze%netscape.com
6dcf85a892
bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@118648 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:32:41 +00:00
karnaze%netscape.com
f0d801b686
bug 131020 - process special height reflow when initiator is the containing table. a=roc+moz, sr=attinasi, r=bernd.
...
git-svn-id: svn://10.0.0.236/trunk@117851 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 06:46:17 +00:00
karnaze%netscape.com
430941b018
bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
waterson%netscape.com
b6978c3e09
Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +00:00
karnaze%netscape.com
d8577654db
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
dbaron%fas.harvard.edu
4ae66f30c3
Switch to using typesafe way of accessing style data. r=hyatt sr=waterson b=111883
...
git-svn-id: svn://10.0.0.236/trunk@109113 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 05:06:17 +00:00
karnaze%netscape.com
8e9ce2be93
bug 30692 - Have children of cell block use the computed width of the cell. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@107490 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:57:17 +00:00
dbaron%fas.harvard.edu
8c7cfc52d1
Fix inheritance of percentage values for 'line-height' by removing hacks to base percentage values for 'line-height' on the actual value rather than the computed value of 'font-size'. Fix various |const|-ness issues in nsRuleNode. b=97726 r=pierre sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@107440 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 07:48:02 +00:00
karnaze%netscape.com
d30758e3fc
bug 97138 - rework of table, row group, row, cell height code. sr=attinasi, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@107299 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 00:15:51 +00:00
dbaron%fas.harvard.edu
8b3489a026
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
git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
bernd.mielke%snafu.de
ac43e7d583
bug 104898 the borderpadding should not influence the inner table margin relative to the
...
outertable frame r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106168 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:36:33 +00:00
attinasi%netscape.com
739f7f8dad
Checkin for tingley@sundell.net - Blinking text optional via pref b=19258 r=dbaron sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@106133 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 04:51:34 +00:00
hyatt%netscape.com
ab0e4e56d4
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
dbaron%fas.harvard.edu
6625c5de76
Fix 'text-decoration: blink' and the blink element. Patch from Chase Tingley <tingley@sundell.net>. r=dbaron sr=hyatt b=89065
...
git-svn-id: svn://10.0.0.236/trunk@105120 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:15:09 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
attinasi%netscape.com
c51c04dbab
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
...
git-svn-id: svn://10.0.0.236/trunk@102708 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:12:28 +00:00
attinasi%netscape.com
e2f7d9afcc
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
...
git-svn-id: svn://10.0.0.236/trunk@102595 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 20:09:08 +00:00
waterson%netscape.com
43c613727c
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
...
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
bernd.mielke%snafu.de
f5274636fb
handle captions and innertable frames identical if the containing block is to small,
...
bug 76726 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101530 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 19:31:53 +00:00
bernd.mielke%snafu.de
15e8c5c13b
don't substract caption margins twice, bug 91057, r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@100644 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 05:24:14 +00:00
shanjian%netscape.com
b4453b8d4c
#41461
...
This checkin correct a minor leftout in previous checkin.
r=rbs@math.uq.edu.au sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99828 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 22:48:54 +00:00
shanjian%netscape.com
fac90e31c9
#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.
git-svn-id: svn://10.0.0.236/trunk@99819 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 21:45:45 +00:00
dbaron%fas.harvard.edu
890ce3eef5
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
...
git-svn-id: svn://10.0.0.236/trunk@99561 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 02:33:43 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
ftang%netscape.com
ad0685af07
fix 79653. check in for simon@softel.co.il
...
r=ftang sr=attanasi
remove unnecessary code in IBMBIDI due to previous check in
git-svn-id: svn://10.0.0.236/trunk@95406 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 20:33:08 +00:00
attinasi%netscape.com
4ff286524c
Commented out assertion that is triggering in table regression tests: problem is covered by bug 71210, this just removes the assertion alert. r=karnaze
...
git-svn-id: svn://10.0.0.236/trunk@90670 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:06:15 +00:00
erik%netscape.com
dc9f2947a7
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)
git-svn-id: svn://10.0.0.236/trunk@89069 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:29:00 +00:00
attinasi%netscape.com
f15b490680
Commented out assertion while I find out why HR's are triggering it in some cases...
...
git-svn-id: svn://10.0.0.236/trunk@88966 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 15:48:48 +00:00
attinasi%netscape.com
488afba86a
Fixes box-sizing for absolutely positioned elements. b=67690 r=waterson (and buster R.I.P), sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@88646 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:56:19 +00:00
hyatt%netscape.com
47a980eb45
Fix for 70704, r=brendan, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@88495 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 21:57:56 +00:00
pierre%netscape.com
8944a57fe0
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.
...
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
karnaze%netscape.com
b6047b1170
mispelled #ifdef DEBUG
...
git-svn-id: svn://10.0.0.236/trunk@85924 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 02:26:26 +00:00
karnaze%netscape.com
7995ae675b
forgot the #ifdef DEBUG around mDebugHook.
...
git-svn-id: svn://10.0.0.236/trunk@85494 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:57:46 +00:00
karnaze%netscape.com
d95bd4f152
better table reflow debugging including support for elapsed time. sr=buster.
...
git-svn-id: svn://10.0.0.236/trunk@85493 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:55:51 +00:00
mcafee%netscape.com
644a6ffc68
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
...
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
...
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
rods%netscape.com
a6e0d47c5a
removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
...
Bug 61274, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
karnaze%netscape.com
fb49fe1119
bug 43204 - zero out padding for row/col group, ro/col, sr=buster
...
git-svn-id: svn://10.0.0.236/trunk@83966 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:05:15 +00:00
karnaze%netscape.com
cc350f691c
bug 50695 - skip form parents when computing a percent basis height in quirks mode. sr=buster, r=pollmann
...
git-svn-id: svn://10.0.0.236/trunk@83081 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 22:31:57 +00:00
warren%netscape.com
a8b9664a8c
Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
...
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb
Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
buster%netscape.com
59b79617a9
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
git-svn-id: svn://10.0.0.236/trunk@80746 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 21:19:36 +00:00
karnaze%netscape.com
6d620a422b
bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone.
...
git-svn-id: svn://10.0.0.236/trunk@80527 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:49:25 +00:00
buster%netscape.com
71d538ea91
bug 49239
...
r=hyatt
bug 42372
r=waterson
git-svn-id: svn://10.0.0.236/trunk@77054 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:38:08 +00:00
dbaron%fas.harvard.edu
5c317da98a
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
...
git-svn-id: svn://10.0.0.236/trunk@74966 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:37:44 +00:00
karnaze%netscape.com
0b74ec8686
bug 41306 - remove special cell auto percentage base code, r=rods
...
git-svn-id: svn://10.0.0.236/trunk@72313 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:54:04 +00:00
erik%netscape.com
d82e34d116
make line-height calculation language-sensitive to avoid overlapping lines
...
git-svn-id: svn://10.0.0.236/trunk@70362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:47:56 +00:00
cls%seawood.org
079260ab04
Fix for BeOS and other platforms that don't use the NEW_FONT_HEIGHT_APIS.
...
git-svn-id: svn://10.0.0.236/trunk@70296 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:07:26 +00:00