Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com 781b8bd98d Bug 77414. Break nsBlockReflowState out into its own files. sr=attinasi 2001-05-01 04:22:57 +00:00
buster%netscape.com ec30cf04f8 bug 28811
r=karnaze
The problem was we were over-eager in optimizing away a resize reflow for lines
that contain %-aware children.  We were only looking at the first-level children
of a line, not all the children.  Now, we compute a bit for each inline container
based on it's children, true if any of them are %-aware wrt any width measurement.
We propogate this bit upwards to a bit on the line itself, and check this bit during reflow.
2000-09-11 20:46:44 +00:00
rbs%maths.uq.edu.au 9e52b965b9 Enable the code to export the baseline out of the block frame code to support 'vertical-article: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:buster@netscape.com. 2000-07-28 09:18:15 +00:00
waterson%netscape.com 7acb9494c4 Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu 2000-07-27 05:16:08 +00:00
rbs%maths.uq.edu.au 59a9466655 [#ifdef MOZ_MATHML: not yet part of default build]. Export the baseline out of the block frame code to support 'vertical-align: baseline' in table-cells. bug 10207. r:buster@netscape.com. a:waterson@mozilla.org 2000-06-05 08:24:18 +00:00
mkaply%us.ibm.com 5cb009113a # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
buster%netscape.com 2fd6bc2c33 bug 588 (text justification) for Robert O'Callahan <roc+moz@cs.cmu.edu>
r=buster

bug 18545 ([FLOAT] Problem Centering <TABLE> with <DIV> tag)
r=troy

bugs 18827, 19579, 22327 24782, 26512, 30124, 31849, 32846 (floater behavior wrong)
The primary change here is to determine if a block is impacted by a floater, and if so
mark the block's lines dirty when appropriate.
r=troy

no bug number.  performance work.  reduced the size of some reflow data structures by
collapsing multiple fields into a single bit field.
r=troy
2000-04-17 14:40:46 +00:00
dbaron%fas.harvard.edu 7654eb97da Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line.  This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements.  Many of the changes are removing an earlier fix for 24186.

r=buster
2000-02-15 04:26:44 +00:00
buster%netscape.com e50de956b3 fixed bug 24186 (well, fixed it enough for beta at least. see bug for details)
r=troy
2000-02-02 07:38:23 +00:00
troy%netscape.com e1f277616c Reduced stack space by using PRPackedBool instead of PRBool 2000-01-04 02:59:35 +00:00
troy%netscape.com 1558ba3b1a 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
2000-01-03 04:32:13 +00:00
tbogard%aol.net a0640b60c4 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kipp%netscape.com d4c6233f05 r=troy; fixed bugs 2636 and 17636 - line layout issues for some more edge cases (nobr's with floaters in them) and handling of nbsp 1999-11-02 15:44:57 +00:00
kipp%netscape.com 32ee25122e r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs 1999-10-29 14:33:26 +00:00
kipp%netscape.com 26f3bc9b5b Fixed bugs with combined-area continuing to include trimmed whitespace (wip for 12297); Added support for tracking trim for 16176) 1999-10-12 23:27:32 +00:00
kipp%netscape.com 062881c39a Reimplement TrimTrailingWhiteSpace; fixed another combined area bug (12910) 1999-09-21 00:14:22 +00:00
kipp%netscape.com f452078c3f Reworked to be more css compliant; factored compatability logic out of nsInlineFrame into here 1999-09-09 21:04:37 +00:00
kipp%netscape.com 178818de64 Implement fix for bug #5821 as per dbaron's suggestion 1999-09-03 03:47:49 +00:00
kipp%netscape.com 6c08bc8c75 Shrink down size of nsLineLayout object 1999-08-27 21:49:12 +00:00
nisheeth%netscape.com c7d2151e3c Adding support in line layout for the CSS "direction" property. 1999-05-08 00:48:39 +00:00
kipp%netscape.com f5675f8348 Renamed header file 1999-04-20 00:24:32 +00:00
jdunn%netscape.com a182e18db0 ANSIC requires that structures need 'friend' status to access other structures
IF they are protected (or private).  fix for bug 4642
1999-04-12 20:12:15 +00:00
kipp%netscape.com ce282e99e7 Switch to a different (more accurate) BR handling hack... 1999-04-03 18:57:30 +00:00
jdunn%netscape.com 986977b905 Fix compiler error on AIX...
Can't have 'protected' structures, so for AIX make them public and then
make sure that the AIX is defined in the Makefile.in
1999-03-31 04:21:53 +00:00
kipp%netscape.com 5c094fe255 Select size of builtin arrays by platform (sigh); remove some cruft; added in support for debugging memory leaks and reducing initialization time 1999-03-29 23:46:34 +00:00
kipp%netscape.com 225210903a Removed carried-out-top-margin 1999-03-27 01:24:24 +00:00
kipp%netscape.com ab5b716944 Work around some first-letter bugs 1999-03-26 00:41:36 +00:00
kipp%netscape.com b7fd88140f Made margin carried outs per-line-layout instead of per-frame 1999-03-25 03:49:47 +00:00
jdunn%netscape.com e3c9afd27f backing out changes, because the tree was closed - doh 1999-03-24 21:55:53 +00:00
jdunn%netscape.com 49b47b7c6b Fixed compiler error on AIX. The xlC compiler does not handle protected
structures correctly so for AIX, we make the structures public.

approved by kipp@netscape.com
1999-03-24 21:43:34 +00:00
kipp%netscape.com 8daeeea8fe De-inlined some methods (temporary) and added CanPlaceFloaterNow 1999-03-24 15:41:17 +00:00
kipp%netscape.com da5def1071 Made state that is really per-span state part of PerSpanData to fix some reflow bugs 1999-03-22 20:45:09 +00:00
kipp%netscape.com 5293dd812d Added state to keep track of lines that are impacted by floaters 1999-03-21 01:14:05 +00:00
kipp%netscape.com f7b3921a2c Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc. 1999-03-18 21:03:25 +00:00
kipp%netscape.com 8f15c29202 Added methods for supporting 2 pass vertical align reflow 1999-02-18 03:28:00 +00:00
kipp%netscape.com f3ab212f9f Added another TreatFrameAsBlock method 1999-02-01 17:32:33 +00:00
kipp%netscape.com 05cf91f45d Setup first-letter-style to be off by default 1998-12-05 16:05:52 +00:00
kipp%netscape.com 936937c930 Added InitFloater 1998-11-10 18:04:19 +00:00
kipp%netscape.com 4c08039b44 Added some first-letter support 1998-11-05 19:30:31 +00:00
kipp%netscape.com 4cedea6f5b Reworked white-space compression flags so that inline-reflow can detect white-space aware frames properly 1998-10-31 22:48:56 +00:00
kipp%netscape.com 585f02420a Implement justification methods 1998-10-27 16:52:10 +00:00
kipp%netscape.com 2ec47f67fb Removed nsTextRun; s/NonBreakingUnit/Word/ 1998-10-20 00:22:48 +00:00
kipp%netscape.com 812bf4b807 Added accessor for the line number 1998-10-17 01:06:17 +00:00
kipp%netscape.com 983af3c443 Added methods to support word breaking 1998-10-10 04:35:01 +00:00
kipp%netscape.com ede047ed44 Mork work on floaters; support for clear style property 1998-10-09 22:58:25 +00:00
kipp%netscape.com f92bd37241 Added SetBRFrame/GetBRFrame for handling 0 height line layout and BR's 1998-09-29 22:32:04 +00:00
kipp%netscape.com 90e7f6356a Added methods for counting the number of placed frames; switched the pres-context to a ref from a pointer; removed some debris 1998-09-23 02:31:00 +00:00
kipp%netscape.com 46acb2313a Removed css/layout directory 1998-09-15 00:19:49 +00:00
kipp 4b8864ebbc New and improved (?) line layout 1998-06-25 16:33:10 +00:00