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
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
pollmann%netscape.com
e50f08ece3
Bug 23014: Quirks mode percentage height: enable for iframes, enable for native scrollbars, and add safety check for unconstrained height. r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@70108 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:02:16 +00:00
erik%netscape.com
7e1c431935
bug 27164; need to multiply line-height by font's em square height, not
...
bounding box height; r=buster
git-svn-id: svn://10.0.0.236/trunk@69819 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:40:42 +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
karnaze%netscape.com
20cec33497
consider captions as blocks to calculate box-sizing.
...
git-svn-id: svn://10.0.0.236/trunk@68237 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:47:37 +00:00
karnaze%netscape.com
b10cfe19e6
bug 30692 - skip inner table cell's block as percentage base and use cell instead. r=troy
...
git-svn-id: svn://10.0.0.236/trunk@68081 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:36:04 +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
troy%netscape.com
b922f3dde8
b=36635 Fixed a problem with 'auto' margin calculation not taking into
...
account border/padding
git-svn-id: svn://10.0.0.236/trunk@67595 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:24:53 +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
troy%netscape.com
f9339d1efa
b=6252 Fixed problem with computing of hypothetical box
...
git-svn-id: svn://10.0.0.236/trunk@66521 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 04:44:32 +00:00
troy%netscape.com
e1791f741f
b=36220 Added check for a frame type of "areaFrame"
...
git-svn-id: svn://10.0.0.236/trunk@66398 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:27:31 +00:00
troy%netscape.com
48f166c4ac
b=36095 Fixed problem in GetNearestContainingBlock()
...
git-svn-id: svn://10.0.0.236/trunk@66250 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:03:42 +00:00
troy%netscape.com
f1d75a440d
New rules for absolute positioning
...
git-svn-id: svn://10.0.0.236/trunk@66118 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 04:07:02 +00:00
troy%netscape.com
ed97833d64
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
git-svn-id: svn://10.0.0.236/trunk@60650 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 17:55:18 +00:00
troy%netscape.com
573b3e8c49
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
git-svn-id: svn://10.0.0.236/trunk@59232 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:40:48 +00:00
nisheeth%netscape.com
59dbaae9fb
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.
...
git-svn-id: svn://10.0.0.236/trunk@57522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:28:24 +00:00
sspitzer%netscape.com
82a785e528
fixes to turn bug #22916 into a blank window bug (instead of a crasher)
...
r=troy
git-svn-id: svn://10.0.0.236/trunk@57443 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:15:20 +00:00
troy%netscape.com
a9936ebc11
Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
...
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
git-svn-id: svn://10.0.0.236/trunk@56652 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 04:32:13 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
troy%netscape.com
88c4d96e2c
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
git-svn-id: svn://10.0.0.236/trunk@52309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-30 02:52:11 +00:00
kipp%netscape.com
76b98f20a7
Factored common code into a single method (UseComputedHeight)
...
git-svn-id: svn://10.0.0.236/trunk@50509 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:25:49 +00:00
troy%netscape.com
d868e2767f
Part of the fix for bug #11633 . Check the NS_FRAME_OUT_OF_FLOW bit and make
...
sure the frame was really moved out of the flow
git-svn-id: svn://10.0.0.236/trunk@49260 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 23:42:35 +00:00
kipp%netscape.com
7223e249d3
Reworked side margin calculations to fix (finally!) bug 11932; also cleaned up table side margin handling to better match nav's behavior yet move forward with css2
...
git-svn-id: svn://10.0.0.236/trunk@48440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:15:16 +00:00
troy%netscape.com
4d5ed09a1f
Added nsHTMLReflowState constructor that allows containing block width
...
and height to be specified. This is needed for relatively positioned
block elements
git-svn-id: svn://10.0.0.236/trunk@47787 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 14:33:19 +00:00
kipp%netscape.com
3656e9d5f5
Fixed refcnt crash bug with style-contexts (bad nscomptr usage -- whoops)
...
git-svn-id: svn://10.0.0.236/trunk@46634 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 21:54:20 +00:00
kipp%netscape.com
64a03c4eb0
Reworked nsHTMLReflowState::CalcLineHeight (bug 6865)
...
git-svn-id: svn://10.0.0.236/trunk@46624 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 21:03:27 +00:00
kipp%netscape.com
9d4d59aea1
Keep trakc of the depth of reflow to allow for limiting stack usage (bug #10310 )
...
git-svn-id: svn://10.0.0.236/trunk@44926 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:54 +00:00