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

363 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org f00b4902e7 Implement the same block-alignment behavior for align=left (which matters only for RTL) that we do for center and right. b=64510 r+sr=roc a=asa 2005-06-15 23:45:06 +00:00
bmlk%gmx.de 67fbb9fdec add only fixed margins to the MEW, bug 292690 r/sr=dbaron a=chofmann 2005-05-22 15:47:49 +00:00
bzbarsky%mit.edu e61e1e1935 Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu 8361439ea6 Removing noisy printf. 2005-03-23 20:01:39 +00:00
dbaron%dbaron.org d0b201ef3e Make the printf that roc just checked in #ifdef DEBUG_roc. 2005-03-23 09:30:54 +00:00
roc+%cs.cmu.edu 87c224f2cb Bug 263825. Make paginated floats work, and other fixes. r+sr=dbaron 2005-03-23 03:35:08 +00:00
bzbarsky%mit.edu e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
jshin%mailaps.org 729785e7e8 bug 275672 : Right-most character (that means end of line) should not have extra space for justification patch by masayuki@d-toybox.com, r+sr=roc 2005-01-13 19:21:18 +00:00
bmlk%gmx.de ca3e9f85c3 remove unused prescontext from PlaceFrameView, PlaceChildsView, ConsiderChildOverflow bug 276092 r/sr=dbaron 2004-12-27 15:05:18 +00:00
dbaron%dbaron.org 0bb526779c Add comment. 2004-12-16 01:20:57 +00:00
cbiesinger%web.de e21c6632f7 bug 36322 patch by Masayuki Nakano <masayuki@d-toybox.com> r+sr=roc
Japanese text justification
2004-12-12 16:14:43 +00:00
mats.palmgren%bredband.net 2ea386e9aa Fix margin-right for ::first-letter. b=60289 r=rbs sr=dbaron 2004-11-28 02:17:42 +00:00
jshin%mailaps.org 7f32280119 get rid of the previous check-in (I didn't realize that the tree was frozen. I'm sorry) 2004-11-19 03:32:28 +00:00
jshin%mailaps.org 0bce7f2fcb bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc) 2004-11-19 03:21:12 +00:00
rbs%maths.uq.edu.au 2013840a25 Beautify ::first-letter by using MathML's GetBoundingMetrics, b=21616, r+sr=bzbarsky 2004-11-17 04:12:02 +00:00
dbaron%dbaron.org fc211528b0 Revert part of the changes from bug 140611. Patch partly from Sander <svl_bmo@juima.org>. b=259683 r+sr=roc a=asa 2004-10-23 23:23:43 +00:00
rbs%maths.uq.edu.au 919273859a Improves linebreak behavior at inter-tag boundaries, patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs 2004-10-19 07:12:55 +00:00
rbs%maths.uq.edu.au 24c89150ae Text Zoom leaves misaligned overlapping text, b=128405, r=roc, sr=bz 2004-10-12 03:04:47 +00:00
roc+%cs.cmu.edu b2c88b56ed Bug 260896. When a floating first-letter frame reports FRAME_IS_NOT_COMPLETE after reflow, (then unlike blocks) that does NOT mean that it needs to continue on the next page! It just means it has an inline continuation. So correct its reflow status early in ReflowFloat so that we don't confuse the heck out of block reflow. r+sr=dbaron 2004-09-29 02:18:25 +00:00
roc+%cs.cmu.edu 44a2fd5b52 Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2004-09-14 02:28:03 +00:00
roc+%cs.cmu.edu 3a3ac38479 Bug 257216. Fix sundry block issues for columns. In particular, remove overflowing floats from the space manager before we compute the space manager's XMost and YMost to include in the block size. r+sr=dbaron 2004-09-13 13:35:46 +00:00
roc+%cs.cmu.edu 51ea58fa47 Bug 252771. Recompute an inline frame's overflow area nearly from scratch in RelativePositionFrames, so we don't try to maintain it (and fail) during inline frame alignment. r+sr=dbaron 2004-08-25 13:03:28 +00:00
bryner%brianryner.com b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
aaronleventhal%moonset.net 910e44a7d5 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net 692a414811 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
jim_nance%yahoo.com 824a6d1d0c Fix But #250105 - Add Arena for nsLineLayout buffers. r+sr=roc 2004-07-15 17:50:34 +00:00
aaronleventhal%moonset.net be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
smontagu%smontagu.org e1cc6b919a Bug 140611: When a block element is first in RTL <LI>, bullet moves left. patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=dbaron. 2004-06-20 09:51:10 +00:00
neil%parkwaycc.co.uk 8d5141f6df Bug 205235 Fix floats to work in RTL spans p=mozilla-bugzilla@future.shiny.co.il (Ilya Konstantinov) r/sr=dbaron 2004-06-18 23:41:17 +00:00
smontagu%smontagu.org 82d48e1672 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc 2004-06-01 06:20:16 +00:00
jst%mozilla.jstenback.com 99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
bzbarsky%mit.edu eacf86253c The nsBlockFrame.h include is needed for debug builds. Bustage fix, original
bug is 241833
2004-05-05 01:46:15 +00:00
dbaron%dbaron.org 86700877bf Remove hacks no longer needed since text inputs became reflow roots (instead of using the IncrementalDamageConstrained hack. b=241833 r+sr=rbs 2004-05-04 23:56:25 +00:00
bzbarsky%mit.edu d44c8e2932 Change mCBReflowState to mean the containing block of _this_ reflow state
instead of the containing block of kids.  Fix the containing block calculations
for various cases of absolutely positioned descendants of relatively positioned
inlines (eg make "right" and "bottom" work in those situations).  Bug 135082,
r+sr=dbaron
2004-04-24 17:56:23 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
bryner%brianryner.com 0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
roc+%cs.cmu.edu caec22bc62 Bug 237343. Adjust inline frame PerFrameData mCombinedArea to account for width increase due to justification. 2004-03-16 06:58:01 +00:00
dbaron%dbaron.org 2a10660d41 Backing out my checkin from yesterday. b=199673 2004-03-10 17:13:39 +00:00
dbaron%dbaron.org 2ecaa27129 In almost-standards mode, standards-mode text decorations and quirks-mode inline box model have to interact -- so make standards-mode text-decorations (when text-decorations are present) cause the standards-mode inline box model. b=199673 r+sr=bzbarsky 2004-03-10 00:28:17 +00:00
scott%scott-macgregor.org 3d4524453c Back out Bug #132561 until we can figure out how to fix the regression it causes in HTML composer with spaces
(See Bug #235223).

a=brendan
2004-03-02 01:23:13 +00:00
roc+%cs.cmu.edu b9b0fca290 Bug 235778. Overflow area of relatively positioned inlines must be preserved by line layout. r+sr=dbaron 2004-02-28 02:55:58 +00:00
bryner%brianryner.com 5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
bzbarsky%mit.edu a0b34c7ff7 Fix comment. Bug 132561, r+sr=dbaron 2004-02-19 22:16:00 +00:00
bzbarsky%mit.edu 172b44ad4e Trim whitespace that comes right before a <br> when trimming whitespace. Bug
132561, r+sr=dbaron
2004-02-19 22:12:38 +00:00
bzbarsky%mit.edu 9d18d90270 Collapse trailing whitespace even if there is a placeholder after it. Bug
233451, r+sr=dbaron
2004-02-09 01:01:06 +00:00
roc+%cs.cmu.edu e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
dbaron%dbaron.org f3fb5dea45 Fix percentage widths on inlines within inlines. b=97695 r+sr=roc 2003-12-19 05:41:35 +00:00
dbaron%dbaron.org a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
jst%mozilla.jstenback.com 4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
dbaron%dbaron.org b743b23ea2 Removed unused LineIsEmpty function. 2003-11-11 19:25:49 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
dbaron%dbaron.org 3de4dc91e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
dbaron%dbaron.org 693a674a5b Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc 2003-09-28 22:56:08 +00:00
dbaron%dbaron.org 428b1f3c4c Fix view positioning logic in RelativePositionFrames so that widgets are positioned correctly. b=214623 r+sr=roc a=asa 2003-08-06 23:59:10 +00:00
dbaron%dbaron.org 1f36520f04 Correct fix for bug 213591 - make sure to call SyncFrameViewAfterReflow for leaf frames as well. r+sr=roc 2003-07-31 22:03:26 +00:00
caillon%returnzero.com a9e2dece76 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
dbaron%dbaron.org 62e37a22e9 Back out part of checkin from yesterday due to regressions. b=79315 2003-07-23 22:46:48 +00:00
dbaron%dbaron.org 7008f7eb21 Make sure we include the overflow area in the size of views, for blocks and inlines, at least. b=79315 r+sr=roc 2003-07-23 00:14:16 +00:00
roc+%cs.cmu.edu 5d55c4535e Ongoing deCOMtamination. r+sr=dbaron 2003-06-30 10:46:59 +00:00
dbaron%dbaron.org 4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
dbaron%dbaron.org de72fd6d40 Oops, wrong tree. Backing out. 2003-05-15 03:36:05 +00:00
dbaron%dbaron.org 9029e25c56 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:32:08 +00:00
smontagu%netscape.com 743ba45c35 Remove nsITextFrame. Bug 188618, r/sr=roc+moz. 2003-02-25 00:44:04 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
dbaron%dbaron.org 57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
roc+%cs.cmu.edu 33ca73d3d7 Backing out fix for bug 170330... againr=dbaron 2002-12-22 05:40:51 +00:00
roc+%cs.cmu.edu 49148f941b Tp experiment... See if the extra view sync is causing the Tp regression. Pardon me. 2002-12-22 02:12:13 +00:00
roc+%cs.cmu.edu a5a3f217d1 Bug 170330. Factor out overflowArea calculations and take into account overflow:hidden. Also improve calculations of clipping for invalidation in the view manager. r+sr=dbaron 2002-12-21 23:25:38 +00:00
dbaron%fas.harvard.edu d89cd5a885 Remove test assertion that I added two days ago. DEBUG-only, r=me 2002-12-21 01:36:58 +00:00
dbaron%fas.harvard.edu 9e87918976 Make quirks-mode vertical alignment correctly consider only non-collapsed whitespace. b=155333 r+sr=roc 2002-12-19 00:21:07 +00:00
dbaron%fas.harvard.edu 34a1e37f7e Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777 2002-12-11 04:00:18 +00:00
dbaron%fas.harvard.edu 9241837980 Clean up twisty maze of IBMBIDI ifdefs related to HorizontalAlignFrames and fix an RTL alignment bug. b=131023 r=smontagu sr=roc 2002-12-11 02:38:33 +00:00
roc+%cs.cmu.edu eecdcab3d7 Backing out fix for bug 170330 due to Tp regression 2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu d399b683e9 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin 2002-12-05 22:29:08 +00:00
karnaze%netscape.com 40902d04df bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone 2002-10-08 20:35:26 +00:00
karnaze%netscape.com 182417eb0a bug 169620 - don't pass in negative avail widths, don't add/subtract from NS_UNCONSTRAINEDSIZE, make HR's desired width at least as big as its me width. sr=kin, r=dbaron 2002-09-24 21:02:20 +00:00
dbaron%fas.harvard.edu 815f207e63 Back out most of patch for bug 154910 to fix crash, since nsLineLayout need not do all its allocation without other things lower on the stack. b=162516 2002-08-14 13:00:16 +00:00
dbaron%fas.harvard.edu 6a85bf516a Make BR-related parts of the quirky inline box model also quirky in almost-standards mode, to match the rest of the inline box model quirks. b=161691 sr=bzbarsky r=caillon 2002-08-11 18:00:07 +00:00
dbaron%fas.harvard.edu 5e339bca9e Allocate PerFrameData and PerSpanData in pres shell's stack arena. b=154910 r=bzbarsky sr=waterson 2002-08-06 13:51:07 +00:00
dbaron%fas.harvard.edu 012105b216 Hacky fix to make HR's ALIGN attribute work again. b=158197 r=mjudge sr=bzbarsky 2002-08-06 12:59:48 +00:00
smontagu%netscape.com d63551e2ff Fix regression with form controls on visual bidi pages. Bug 142233, r=jkeiser, sr=kin 2002-07-10 00:52:17 +00:00
bernd.mielke%snafu.de 7054f14c18 bug 154979 - use gNoisyMaxElementSize instead of NOISY_MAX_ELEMENTSIZE r=karnaze sr=waterson 2002-07-01 17:43:02 +00:00
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
karnaze%netscape.com 8458aad931 bug 151620 - always use quirk line-height inside a td. sr=waterson, r=dbaron. 2002-06-19 22:28:47 +00:00
karnaze%netscape.com 29f4ff0184 bug 148245 - only split floaters when printing if the height is constrained, never split floating first letters. sr=waterson 2002-06-14 14:30:33 +00:00
dbaron%fas.harvard.edu e5a0855621 Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin 2002-06-12 03:27:48 +00:00
bernd.mielke%snafu.de 33656786ba bug 148240, percent text-indent should not be computed for NS_UNCONSTRAINEDSIZE
parent width. r=dbaron sr=waterson
2002-06-03 18:35:04 +00:00
karnaze%netscape.com 1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
shanjian%netscape.com 7f5900aa67 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
jst%netscape.com 1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu 79e6560fc8 Fix to fix for bug 134580: quirks mode line height must ignore all whitespace at the beginning of the line, not just what happens to be in the first text node. b=134580 sr=waterson r=attinasi 2002-05-16 19:44:20 +00:00
dbaron%fas.harvard.edu e587531414 Use text-indent in max-element-size calculation (130116, 91468, 140682). Don't apply text-indent after page break to the same block (45694). b=130116 r=attinasi sr=waterson 2002-05-14 12:55:55 +00:00
waterson%netscape.com e3554c37cc Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
dbaron%fas.harvard.edu b44062eae4 Consider whitespace in quirks-mode line-height algorithm when it's in the middle of the line. b=134580 r=attinasi sr=waterson 2002-05-01 00:42:49 +00:00
karnaze%netscape.com 3a172cbd87 bug 124637 - when figuring available width for HRs subtract out both margins. a=asa, sr=attinasi, r=alexsavulov. 2002-03-20 22:14:27 +00:00
smontagu%netscape.com 2ef941a509 Improve performance by making nsWordFrame in nsLineLayout an nsDeque instead of an nsAutoVoidArray. Bug 121967, r=timeless, sr=attinasi, a=asa 2002-03-19 21:57:45 +00:00
rbs%maths.uq.edu.au 2da1544c38 Fix bug 101180 - the minimum line-height wasn't applied at the first reflow, causing the line to flicker at the next reflow, r=dbaron, sr=attinasi, a=asa 2002-03-15 08:03:18 +00:00
smontagu%netscape.com 37ebf6848d Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi 2002-02-19 20:41:32 +00:00
waterson%netscape.com a04e667ef4 Bug 46918, 3490. Clean up inline margin handling. r=rbs, sr=kin 2002-01-30 23:28:56 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
waterson%netscape.com 854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
smontagu%netscape.com d046c2bbb2 Fix for bug 108187, Indent wrong on RTL paragraph in Hebrew, r=dbaron, sr=attinasi. As well as fixing the bug, the patch moves the code for text-indent out to nsLineLayout::BeginLineReflow 2001-12-11 02:45:44 +00:00
karnaze%netscape.com 748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
bernd.mielke%snafu.de ae2373f749 whitespace nowrap should not affect in quirks mode hr's size bug 60992
r=karnaze sr=attinasi
2001-12-06 20:14:10 +00:00
smontagu%netscape.com 68c01ded67 Fix for Bug 17644 [INLINE-H] negative text-indent paragraphs starting with images, r=dbaron, sr=roc+moz 2001-12-03 23:30:32 +00:00
roc+%cs.cmu.edu c88233916b Bug 73382. Clean up view manager interfaces, 2nd attempt. r=kmcclusk,rs=attinasi 2001-12-01 14:31:45 +00:00
attinasi%netscape.com ca54f79ce1 null-ptr check for talkback crash that I cannot duplicate. b=105168 r=karnaze sr=hyatt 2001-11-29 00:10:31 +00:00
roc+%cs.cmu.edu c26c9711f3 My cleanup checkin for bug 73382 caused 5% increase in page load times. Backing out. 2001-11-24 05:37:25 +00:00
roc+%cs.cmu.edu 04ab1d58c5 View manage interface cleanup. Bug 73382. r=kmcclusk, sr=attinasi 2001-11-22 05:26:32 +00:00
dbaron%fas.harvard.edu 6e86902faa Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson 2001-10-26 05:06:07 +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
attinasi%netscape.com 4d5175753d Fixed image wrapping in tables problems. b=101674 sr=hyatt r=waterson 2001-09-28 21:42:03 +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
rbs%maths.uq.edu.au 5b02d7ca8a bug 99010 - font changes. r=attinasi@netscape.com, sr=waterson@netscape.com 2001-09-27 18:34:30 +00:00
attinasi%netscape.com c4b5ba5576 Don't allow consecutive images to wrap in table cells with percentage width. r=kmcclusk sr=waterson b=100568 2001-09-25 06:31:46 +00:00
attinasi%netscape.com 6787cc3c9b Fixing erroneous addition to previously reviewed and approved patch: b=97619 r=bernd sr=waterson 2001-09-17 23:13:57 +00:00
attinasi%netscape.com 6507d5d128 Fix for image wrapping problems in table cells. b=97619 r=bernd sr=waterson 2001-09-08 19:26:34 +00:00
attinasi%netscape.com 0cbc8f3b4f Inline images no longer break text runs. b=32191 r=bernd,dbaron sr=waterson a=asa(obod) 2001-08-29 22:59:09 +00:00
waterson%netscape.com 123a705ccd Bug 87543. Don't try to do arithmetic when psd->mRightEdge == NS_UNCONSTRAINEDSIZE. r=rbs, sr=attinasi 2001-07-04 06:07:14 +00:00
dbaron%fas.harvard.edu 077fc4d427 Add some comments to code about issues that we should look at, remove some unused code, rename some unnecessarily-overloaded functions, fix some typos, and make a few minor style changes. b=88735 r=waterson sr=attinasi 2001-07-04 02:00:05 +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 5938ccae19 fix bug 80552 r=ftang r/sr=jst
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
attinasi%netscape.com 2221772542 Fixed handling of empty line after a bullet in QuirksMode. b=75963 r=karnaze@netscape.com sr=waterson@netscape.com a=brendan 2001-04-19 21:54:35 +00:00
erik%netscape.com 3f8707c9fb bug 74946; author=simon@softel.co.il; r=erik; sr=attinasi; diffs from IBM
bidi project (e.g. Arabic, Hebrew)
2001-04-11 23:32:21 +00:00
attinasi%netscape.com 28d86e436d Empty inlines now take up space in the line, fixing problem where the backtround images for those elements were not showing up even if they had sufficient padding. b=21415 r=karnaze, sr=waterson 2001-03-29 06:39:40 +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
dbaron%fas.harvard.edu 6a1cef6f9a Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
dbaron%fas.harvard.edu 36c966b9e9 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 03:23:19 +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
buster%netscape.com 9adbc64e63 bug 54850 crash when plugin has an inline parent
r=av, r=peterl
a=waterson
2000-10-30 04:11:59 +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
waterson%netscape.com 20edcce927 Bug 56115. Be sure to determine if CanContinueTextRun() while walking *down* as well as across. r=buster, a=sfraser 2000-10-13 00:44:53 +00:00
waterson%netscape.com 072a02200b Bug 54005. Test if frame CanContinueTextRun() before advancing to its sibling. r=karnaze, a=buster 2000-10-09 22:03:03 +00:00
buster%netscape.com 2c272b9573 bug 54980
bug 50480 (list-item marker of link list overlaps)
r=karnaze
a=waterson
2000-10-04 04:17:36 +00:00
buster%netscape.com 8b236e6e67 bug 50758 (text-align:right for text control doesn't render as you type)
r=sfraser
a=waterson
We now invalidate the line explicitly if text-align:right is set, because
our incremental painting is biased towards frames that grow to L2R.  This
is a heavy-handed workaround, but it ends up doing very little extra invalidation,
and uses an already existing mechanism by just setting an existing flag.
2000-09-21 06:03:39 +00:00
buster%netscape.com 829ab5c58e just cleaning up a warning, found during fix for bug 52307 2000-09-14 05:50:56 +00:00
buster%netscape.com 05f2509eec checking in fix for unix compiler, stupid nsCOMPtr x-platform incompatibility. 2000-09-11 21:43:46 +00:00
buster%netscape.com 11241fb485 bug 14280
nsTextTransformer.cpp.
  I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
  for the space as non-breaking and therefore part of the first word in the block.

bug  39901 and 38396
  nsHTMLImageLoader.*, nsImageFrame.cpp
  I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
  gets an unconstrained reflow and has %-based width.  This does not handle %-based min-width or max-width, that would be a separate
  bug that I'll file shortly.  But this fixes the vast majority of real cases out there.

bug  18754
  nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
  in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
  newlines before and after the HR.  This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.

bug  50257
  nsLineLayout.cpp
  Did a couple of things in here:
       * The actual fix is controlled by FIX_BUG_50257 #define symbol.  This basically says that an break (BR) will always fit on a line.
         A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
         line.  This is a wimpier, safer solution.
       * I noticed that the way we got the compatibility mode was way out of date, very wasteful.  So I fixed that.
       * I noticed that there were a bunch of redundant SetFlag calls.  Since the flag variable is initialized to 0, setting a flag to 0 on a newly
         created object is a waste.

  nsBlockFrame.cpp  --  just added a comment to some odd looking code, to make sure no one comes along later and breaks it
2000-09-11 21:15:02 +00:00
buster%netscape.com 37e900a62c 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
buster%netscape.com a017796f68 bug 45152 (Typed text does not render in TextAreas with a horizontal scrollbar)
fixed by adding a flag in nsLineBox for the content of a line to mark it "forceInvalidate",
logic in nsLineLayout to set the line dirty for initial reflow of text frames,
and logic in block to check the new flag.
r=kin
2000-08-24 04:26:43 +00:00
waterson%netscape.com 4896ee6d33 Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana. 2000-07-28 22:29:28 +00:00
rbs%maths.uq.edu.au af8754b765 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 349ccf4344 Bug 19051. Checked in wrong patch for nsLineLayout.cpp; we want to check the display type, not the frame type, to determine if it's a block frame. 2000-07-27 05:20:09 +00:00
waterson%netscape.com 9bd4266798 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